mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 00:16:47 +00:00
improvements type inference of type intersections (affects ValLambda.java, ValWeirdTypes.java tests)
This commit is contained in:
1 parent
69e6932b81
commit
f0343886a3
7 files changed
+39
-10
No files matched your search
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user