1.1 --- a/deducer.py Sun Mar 12 21:41:15 2017 +0100
1.2 +++ b/deducer.py Sun Mar 12 22:50:59 2017 +0100
1.3 @@ -903,9 +903,11 @@
1.4 access_location = (path, None, attrname_str, 0)
1.5
1.6 # Plain name accesses do not employ attributes and are
1.7 - # ignored.
1.8 + # ignored. Whether they are invoked is of interest, however.
1.9
1.10 if not attrname_str:
1.11 + if invocation:
1.12 + self.reference_invocations[access_location] = invocation
1.13 continue
1.14
1.15 attrnames = get_attrnames(attrname_str)
2.1 --- a/inspector.py Sun Mar 12 21:41:15 2017 +0100
2.2 +++ b/inspector.py Sun Mar 12 22:50:59 2017 +0100
2.3 @@ -902,7 +902,8 @@
2.4 branches = self.trackers[-1].tracking_name(name)
2.5 if branches:
2.6 self.record_branches_for_access(branches, name, None)
2.7 - return self.record_access_details(name, None, None, None)
2.8 + return self.record_access_details(name, None, self.in_assignment,
2.9 + self.in_invocation)
2.10 return None
2.11
2.12 def process_operator_chain(self, nodes, fn):