[val]. more test cases

This commit is contained in:
Bulgakov Alexander committed 2019-05-25 00:15:09 +03:00
1 parent 67441a074f
commit a899ffcbca
7 files changed
+58 -6

No files matched your search

@@ -5,6 +5,7 @@ import lombok.val;
class ValInLambda {
Runnable foo = (Runnable) () -> {
val i = 1;
lombok.val foo = (System.currentTimeMillis() > 0) ? (Runnable)()-> {} : System.out::println;
};
public void easyLambda() {
@@ -18,4 +19,10 @@ class ValInLambda {
val i = 1;
};
}
public void easyLubLambda() {
Runnable foo = (Runnable) () -> {
lombok.val fooInner = (System.currentTimeMillis() > 0) ? (Runnable)()-> {} : System.out::println;
};
}
}