Fix for issue 299: labels would break 'val' in javac.

This commit is contained in:
Reinier Zwitserloot committed 2011-11-20 19:04:31 +01:00
1 parent 52ee15bdc1
commit 3b921ad7f6
6 files changed
+44

No files matched your search

@@ -0,0 +1,11 @@
import lombok.val;
public class ValWithLabel {
{
LABEL: for (val x : new String[0]) {
if (x.toLowerCase() == null) {
continue LABEL;
}
}
}
}