Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6-rc-1
-
None
Description
Unlike Java, Groovy doesn't support multiple labels on the same statement - instead, the AST builder discards all but the first (!) label:
class MultipleLabels {
static void main(args) {
label1:
label2:
while (true)
}
}
For a discussion see: http://www.nabble.com/Multiple-labels-on-the-same-statement-td21543898.html