From 3b921ad7f6a485287ae62e64d0f4a2859683732a Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Sun, 20 Nov 2011 17:23:33 +0100 Subject: Fix for issue 299: labels would break 'val' in javac. --- test/transform/resource/before/ValWithLabel.java | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/transform/resource/before/ValWithLabel.java (limited to 'test/transform/resource/before') diff --git a/test/transform/resource/before/ValWithLabel.java b/test/transform/resource/before/ValWithLabel.java new file mode 100644 index 00000000..f7c3402a --- /dev/null +++ b/test/transform/resource/before/ValWithLabel.java @@ -0,0 +1,11 @@ +import lombok.val; + +public class ValWithLabel { + { + LABEL: for (val x : new String[0]) { + if (x.toLowerCase() == null) { + continue LABEL; + } + } + } +} \ No newline at end of file -- cgit