1.1 --- a/transresults.py Thu Nov 04 23:21:09 2021 +0100
1.2 +++ b/transresults.py Fri Nov 05 01:16:14 2021 +0100
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Translation result abstractions.
1.6
1.7 -Copyright (C) 2016, 2017, 2018 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2016, 2017, 2018, 2021 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -119,8 +119,6 @@
1.13 # Expressions.
1.14
1.15 elif static_name:
1.16 - parent = ref.parent()
1.17 - context = ref.has_kind("<function>") and encode_path(parent) or None
1.18 return "__ATTRVALUE(&%s)" % static_name
1.19
1.20 # Qualified names must be converted into parent-relative accesses.