eclipse-archived/ceylon-ide-intellij

Intellisense popup should reflect imported Type Alias Name

Opened this issue · 0 comments

If I've the following import statements:

import jooq.metadata { DbAuthor = Author }
import example.domain { Author }
import speedment.metadata {SpeedmentAuthor = Author}
...

and there's some interface:

shared interface SomeInterface {
        shared formal List<Author> fromSpeedment(List<SpeedmentAuthor> author);
        shared formal List<Author> fromJooq(List<DbAuthor> author);
        shared formal void storeJooq(DbAuthor author);
        shared formal void storeSpeedment(SpeedmentAuthor author);
}

Now when the caller calls the above methods, the Intellisense should use the Type Alias introduced in the import statement and not the actual type. At the moment its confusing to determine which one to select.
ambiguoustypes