nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
semantize: handle the with statement
[nit.git]
/
src
/
semantize
/
flow.nit
diff --git
a/src/semantize/flow.nit
b/src/semantize/flow.nit
index
b4ba420
..
8dad3b7
100644
(file)
--- a/
src/semantize/flow.nit
+++ b/
src/semantize/flow.nit
@@
-438,6
+438,14
@@
redef class AForExpr
end
end
+redef class AWithExpr
+ redef fun accept_flow_visitor(v)
+ do
+ super
+ v.merge_breaks(self.break_mark)
+ end
+end
+
redef class AAssertExpr
redef fun accept_flow_visitor(v)
do