use find_types instead of find_names

This commit is contained in:
Dave Halter
2014-01-06 14:29:23 +01:00
parent 0a87f8b02f
commit 53dbec52ab
6 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ class ImportPath(pr.Base):
elif rest:
if is_goto:
scopes = itertools.chain.from_iterable(
self._evaluator.find_name(s, rest[0], is_goto=True)
self._evaluator.find_types(s, rest[0], is_goto=True)
for s in scopes)
else:
scopes = itertools.chain.from_iterable(