semantize: handle the with statement
[nit.git] / src / semantize / flow.nit
index b4ba420..8dad3b7 100644 (file)
@@ -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