ceylon / ceylon-spec

DEPRECATED
Apache License 2.0
108 stars 34 forks source link

NPE in parser (if expressions) #1453

Closed lucaswerkmeister closed 8 years ago

lucaswerkmeister commented 8 years ago
[]x=if;

java.lang.NullPointerException at com.redhat.ceylon.compiler.typechecker.parser.CeylonParser.ifExpression(CeylonParser.java:18663) at com.redhat.ceylon.compiler.typechecker.parser.CeylonParser.functionOrExpression(CeylonParser.java:17708) at com.redhat.ceylon.compiler.typechecker.parser.CeylonParser.positionalArgument(CeylonParser.java:17248) […]

In the IDE, normal keys cease to work (though you can still remove the if line with Ctrl+D).

gavinking commented 8 years ago

Fixed, I believe.