ceylon / ceylon-spec

DEPRECATED
Apache License 2.0
108 stars 34 forks source link

NPE in IDE for incomplete code in conjunction with member interface and type param #1361

Closed sgalles closed 9 years ago

sgalles commented 9 years ago

This incomplete and broken code in the IDE

interface Bar<A>{
        shared interface Baz{}
    }

    class Foo() satisfies Bar<Integer>{
        Baz{}
    }

the 'ExpressionVisitor' caused an exception visiting a 'InvocationExpression' node: '"java.lang.NullPointerException"' at 'com.redhat.ceylon.model.typechecker.model.ModelUtil.aggregateTypeArguments(ModelUtil.java:1005)'

gavinking commented 9 years ago

Fixed, thanks.