2017-03-13 | Paul Boddie | raw files shortlog changelog graph | Handle name initialisers referencing invocations. | |
resolving.py (file) |
1.1 --- a/resolving.py Sun Mar 12 22:50:59 2017 +0100 1.2 +++ b/resolving.py Mon Mar 13 00:25:59 2017 +0100 1.3 @@ -334,7 +334,7 @@ 1.4 1.5 # Convert class invocations to instances. 1.6 1.7 - if ref and invocation: 1.8 + if ref and invocation or ref.has_kind("<invoke>"): 1.9 ref = self.convert_invocation(ref) 1.10 1.11 if ref and not ref.has_kind("<var>"):