a initialization of variable like "var o = null;" will throw the compile time error "variable initializer is 'null'"

This commit is contained in:
Bulgakov Alexander
2016-11-12 23:04:48 +03:00
parent 67371e5841
commit 69eeb9edc7
7 changed files with 25 additions and 6 deletions
@@ -1,7 +1,7 @@
//CONF: lombok.var.flagUsage = ALLOW
import lombok.experimental.var;
class VarNullInit {
public class VarNullInit {
void method() {
var x = null;
}