mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 00:14:50 +00:00
[test] this covers more eclipse versions
This commit is contained in:
9 files changed
+104
-45
No files matched your search
@@ -1,4 +1,6 @@
|
||||
// version 8:
|
||||
import java.io.Serializable;
|
||||
|
||||
class ValLambda {
|
||||
|
||||
static {
|
||||
@@ -12,8 +14,8 @@ class ValLambda {
|
||||
lombok.val foo = (Runnable)()-> {};
|
||||
}
|
||||
|
||||
public void easyIntersectionLambda() {
|
||||
lombok.val foo = (Runnable & java.io.Serializable)()-> {};
|
||||
public void intersectionLambda() {
|
||||
lombok.val foo = (Runnable & Serializable)()-> {};
|
||||
lombok.val bar = (java.io.Serializable & Runnable)()-> {};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user