diff options
author | Bulgakov Alexander <buls@yandex.ru> | 2019-04-24 14:06:15 +0300 |
---|---|---|
committer | Bulgakov Alexander <buls@yandex.ru> | 2019-04-24 14:06:15 +0300 |
commit | f0343886a331f3cb2175545a062f3736610f9179 (patch) | |
tree | c4699c4be71abc13d6185ffe21f363f18dff6267 /test/transform/resource/after-ecj/ValLambda.java | |
parent | 69e6932b81f9e6e17da3097ac6e576a261d3e4c1 (diff) | |
download | lombok-f0343886a331f3cb2175545a062f3736610f9179.tar.gz lombok-f0343886a331f3cb2175545a062f3736610f9179.tar.bz2 lombok-f0343886a331f3cb2175545a062f3736610f9179.zip |
improvements type inference of type intersections (affects ValLambda.java, ValWeirdTypes.java tests)
Diffstat (limited to 'test/transform/resource/after-ecj/ValLambda.java')
-rw-r--r-- | test/transform/resource/after-ecj/ValLambda.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/transform/resource/after-ecj/ValLambda.java b/test/transform/resource/after-ecj/ValLambda.java index 4bf3265b..4e2b97a1 100644 --- a/test/transform/resource/after-ecj/ValLambda.java +++ b/test/transform/resource/after-ecj/ValLambda.java @@ -7,9 +7,9 @@ class ValLambda { }; } public void easyIntersectionLambda() { - final @lombok.val java.lang.Object foo = (Runnable & java.io.Serializable) () -> { + final @lombok.val java.lang.Runnable foo = (Runnable & java.io.Serializable) () -> { }; - final @lombok.val java.lang.Object bar = (java.io.Serializable & Runnable) () -> { + final @lombok.val java.io.Serializable bar = (java.io.Serializable & Runnable) () -> { }; } public void easyLubLambda() { |