# HG changeset patch # User Paul Boddie # Date 1530799224 -7200 # Node ID 20667fb4b8cfc23e228fada75d4ca7e34684e3e7 # Parent 00fd6721188270e57622363de0df3c5fdf091bfb Fixed a deduction error to work with the revised location abstraction. diff -r 00fd67211882 -r 20667fb4b8cf deducer.py --- a/deducer.py Tue Jul 03 17:02:45 2018 +0200 +++ b/deducer.py Thu Jul 05 16:00:24 2018 +0200 @@ -651,7 +651,8 @@ referenced_attrs = self.referenced_attrs[location] if not referenced_attrs: - raise DeduceError("In %s, access via %s to attribute %s (occurrence %d) cannot be identified." % location) + raise DeduceError("In %s, access via %s to attribute %s (occurrence %d) cannot be identified." % + (location.path, location.name, location.get_attrname(), location.access_number)) # Record attribute information for each name used on the # accessor.