Only error on ambiguous imported function calls, not on the imports themselves. Fixes #788.
Merge pull request #937 from alexrp/master

Only error on ambiguous imported function calls, not on the imports themselves.