ceylon / ceylon-js

DEPRECATED
Apache License 2.0
54 stars 9 forks source link

Error for named constructor in conjunction with type parameter and inlined anonymous object #582

Closed sgalles closed 9 years ago

sgalles commented 9 years ago

This code

shared void run(){

    class Foo<A>{
        shared new Bar(A i){}
    }
    value a = object extends Foo<Integer>.Bar(42){};

}

executed

var $69$=new $69.$$;$66_Bar(42,$$targs$$,$69$);
                               ^
ReferenceError: $$targs$$ is not defined