mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 22:16:11 +00:00
Fix for issue 299: labels would break 'val' in javac.
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user