eclipse-archived / ceylon

The Ceylon compiler, language module, and command line tools
http://ceylon-lang.org
Apache License 2.0
395 stars 62 forks source link

nested class alias for String crashes compiler #7417

Open gavinking opened 5 years ago

gavinking commented 5 years ago

This code crashes the Java backend:

shared class MemberAlias() {
    shared class Str({Character*} characters) => String(characters);
    shared void show(Str string) {}
}

The same code with a regular alias is fine.