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-delombok/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-delombok/ValLambda.java')
-rw-r--r-- | test/transform/resource/after-delombok/ValLambda.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/transform/resource/after-delombok/ValLambda.java b/test/transform/resource/after-delombok/ValLambda.java index 9214b490..60aeaac9 100644 --- a/test/transform/resource/after-delombok/ValLambda.java +++ b/test/transform/resource/after-delombok/ValLambda.java @@ -5,9 +5,9 @@ class ValLambda { }; } public void easyIntersectionLambda() { - final java.lang.Object foo = (Runnable & java.io.Serializable) () -> { + final java.lang.Runnable foo = (Runnable & java.io.Serializable) () -> { }; - final java.lang.Object bar = (java.io.Serializable & Runnable) () -> { + final java.io.Serializable bar = (java.io.Serializable & Runnable) () -> { }; } public void easyLubLambda() { |