ceylon-ide-intellij icon indicating copy to clipboard operation
ceylon-ide-intellij copied to clipboard

Intellisense popup should reflect imported Type Alias Name

Open karimiumar opened this issue 7 years ago • 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

karimiumar avatar Apr 03 '17 17:04 karimiumar