mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 16:15:16 +00:00
Merge pull request #2138 from bulgakovalexander/feature/typeInferenceImprovements
val. override error handling policy for problemReporter to guarantee AbortCompilation is throwing.
This commit is contained in:
8 files changed
+137
-8
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