mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 22:16:11 +00:00
[val]. more test cases
This commit is contained in:
1 parent
67441a074f
commit
a899ffcbca
7 files changed
+58
-6
No files matched your search
@@ -1,5 +1,13 @@
|
||||
// version 8:
|
||||
class ValLambda {
|
||||
|
||||
static {
|
||||
lombok.val foo = (System.currentTimeMillis() > 0) ? (Runnable)()-> {} : System.out::println;
|
||||
}
|
||||
{
|
||||
lombok.val foo = (System.currentTimeMillis() > 0) ? (Runnable)()-> {} : System.out::println;
|
||||
}
|
||||
|
||||
public void easyLambda() {
|
||||
lombok.val foo = (Runnable)()-> {};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user