2016-10-24 | Paul Boddie | raw files shortlog changelog graph | Propagate resolved invocations amongst function defaults to the importer. | |
resolving.py (file) |
1.1 --- a/resolving.py Mon Oct 24 21:49:39 2016 +0200 1.2 +++ b/resolving.py Mon Oct 24 23:05:37 2016 +0200 1.3 @@ -103,7 +103,7 @@ 1.4 if ref.has_kind("<invoke>"): 1.5 ref = self.convert_invocation(ref) 1.6 l.append((pname, ref)) 1.7 - self.function_defaults[fname] = l 1.8 + self.importer.function_defaults[fname] = self.function_defaults[fname] = l 1.9 1.10 # Convert function locals referencing invocations. 1.11