ceylon / ceylon-spec

DEPRECATED
Apache License 2.0
108 stars 34 forks source link

NPE for undefined enumerated instance #1342

Closed sgalles closed 9 years ago

sgalles commented 9 years ago

With this code :

abstract class Foo() of bar{}

the 'InheritanceVisitor' caused an exception visiting a 'CaseTypes' node: '"java.lang.NullPointerException"' at 'com.redhat.ceylon.compiler.typechecker.analyzer.InheritanceVisitor.collectCaseValues(InheritanceVisitor.java:497)'

gavinking commented 9 years ago

It looks like this is already fixed, at least on the 1129 branch.

gavinking commented 9 years ago

After merge, this is fixed.