Closed carlohamalainen closed 10 years ago
commit 09cd6bc0e0e4fda4f61ba2db99563378065fc3fd
Author: Carlo Hamalainen <carlo.hamalainen@gmail.com>
Date: Sun Jan 5 20:40:32 2014 +0100
Better guess of imported module when selective imports are used.
The symbol "when" is exported by these packages:
so if our program has these imports
then
lookupSymbol
will returnbecause
parseNames
has no local type information to differentiate between the different versions ofwhen
.Possible fix: check for a selective import of the specified symbol and take preference if a match appears in the output of
lookupSymbol
.