X-Git-Url: http://nitlanguage.org diff --git a/src/frontend/simple_misc_analysis.nit b/src/frontend/simple_misc_analysis.nit index f61b10a..4934e1a 100644 --- a/src/frontend/simple_misc_analysis.nit +++ b/src/frontend/simple_misc_analysis.nit @@ -172,11 +172,17 @@ end redef class AForExpr redef fun after_simple_misc(v) do - n_expr.warn_parentheses(v) v.check_do_expr(n_block) end end +redef class AForGroup + redef fun after_simple_misc(v) + do + n_expr.warn_parentheses(v) + end +end + redef class AWithExpr redef fun after_simple_misc(v) do