[test] this covers more eclipse versions

This commit is contained in:
Reinier Zwitserloot committed 2020-07-10 02:57:45 +02:00
1 parent 1fd2401bad
commit 4fdcdd126a
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)()-> {};
}