inspector.py | raw changeset files shortlog | return-value-definition |
1.1 --- a/inspector.py Sun Mar 12 00:53:57 2017 +0100 1.2 +++ b/inspector.py Sun Mar 12 17:58:14 2017 +0100 1.3 @@ -773,7 +773,7 @@ 1.4 if isinstance(name_ref, ResolvedNameRef) and name_ref.has_kind("<class>"): 1.5 return InstanceRef(name_ref.reference().instance_of()) 1.6 1.7 - elif isinstance(name_ref, NameRef): 1.8 + elif isinstance(name_ref, (NameRef, AccessRef)): 1.9 return InvocationRef(name_ref) 1.10 1.11 # Provide a general reference to indicate that something is produced