1.1 --- a/deducer.py Fri Sep 09 22:40:11 2016 +0200
1.2 +++ b/deducer.py Fri Sep 09 22:42:31 2016 +0200
1.3 @@ -23,7 +23,7 @@
1.4 init_item, make_key, sorted_output, \
1.5 CommonOutput
1.6 from encoders import encode_attrnames, encode_access_location, \
1.7 - encode_constrained, encode_location
1.8 + encode_constrained, encode_location, encode_usage
1.9 from os.path import join
1.10 from referencing import Reference
1.11
1.12 @@ -236,7 +236,9 @@
1.13
1.14 if not all_types:
1.15 print >>f_types, encode_location(location), "deduced", "<>", 0
1.16 - print >>f_warnings, encode_location(location)
1.17 + attrnames = list(self.location_index[location])
1.18 + attrnames.sort()
1.19 + print >>f_warnings, encode_location(location), "; ".join(map(encode_usage, attrnames))
1.20
1.21 guard_test = self.accessor_guard_tests.get(location)
1.22