report 'break' and 'continue' inside 'when' as errors (even if 'when' is nested in a loop)

This commit is contained in:
Dmitry Jemerov
2015-03-30 20:44:31 +02:00
committed by Andrey Breslav
parent 8ab12e217d
commit 252c4118eb
8 changed files with 77 additions and 2 deletions
@@ -82,4 +82,4 @@ class C {
}
a<!UNSAFE_CALL!>.<!>compareTo("2")
}
}
}