Call signatures should not fail when used on if(.

This commit is contained in:
Dave Halter committed 2015-02-27 12:17:44 +01:00
1 parent 53490991d7
commit ea8209d45e
2 files changed
+5

No files matched your search

+2
View File
@@ -505,6 +505,8 @@ class Script(object):
return []
stmt = self._get_under_cursor_stmt(call_txt)
if stmt is None:
return []
with common.scale_speed_settings(settings.scale_call_signatures):
origins = cache.cache_call_signatures(self._evaluator, stmt, self.source,