diff options
author | Roel Spilker <r.spilker@gmail.com> | 2019-02-19 01:47:49 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2019-02-19 01:47:49 +0100 |
commit | 8479edb4262a7eb8cb76baba138f0ea5aae841c5 (patch) | |
tree | 06be11d07b5b216f8a5d422b00a4f800391ceeb3 /test/transform/resource/before | |
parent | fd9045dac2a3d9b26125b8ccc865b23d8f7cd8d4 (diff) | |
download | lombok-8479edb4262a7eb8cb76baba138f0ea5aae841c5.tar.gz lombok-8479edb4262a7eb8cb76baba138f0ea5aae841c5.tar.bz2 lombok-8479edb4262a7eb8cb76baba138f0ea5aae841c5.zip |
var/val in Eclipse can now handle intersection types, fixes #1986
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r-- | test/transform/resource/before/ValWeirdTypes.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/transform/resource/before/ValWeirdTypes.java b/test/transform/resource/before/ValWeirdTypes.java index 8cba2de5..4ea1b5d4 100644 --- a/test/transform/resource/before/ValWeirdTypes.java +++ b/test/transform/resource/before/ValWeirdTypes.java @@ -1,3 +1,4 @@ +import java.math.BigDecimal; import java.util.*; import lombok.val; @@ -64,4 +65,11 @@ public class ValWeirdTypes<Z> { val single = multiDimArray[0]; val singleInt = copy[0]; } + + public void arraysAsList() { + val x = Arrays.asList(String.class, BigDecimal.class); + for (val y : x) { + + } + } }
\ No newline at end of file |