Files
kotlin/compiler/testData/repl/controlFlow/loopWithWrongLabel.repl
Alexander Udalov 26e3d2cf5d Use TopLevelDeclarations analysis mode in REPL
#KT-12564 Fixed
2017-06-06 14:00:45 +03:00

5 lines
149 B
Plaintext
Vendored

>>> for (n in 1..10) foo@ { break@foo }
error: the label '@foo' does not denote a loop
for (n in 1..10) foo@ { break@foo }
^