1.1 --- a/translator.py Mon Feb 27 14:52:11 2017 +0100
1.2 +++ b/translator.py Mon Feb 27 15:49:05 2017 +0100
1.3 @@ -201,7 +201,7 @@
1.4 def __repr__(self):
1.5 return "TrResolvedInstanceRef(%r, %r)" % (self.ref, self.expr)
1.6
1.7 -class AttrResult(Expression, TranslationResult, InstructionSequence):
1.8 +class AttrResult(Expression, InstructionSequence):
1.9
1.10 "A translation result for an attribute access."
1.11
1.12 @@ -240,7 +240,7 @@
1.13 def __repr__(self):
1.14 return "AttrResult(%r, %r, %r)" % (self.instructions, self.refs, self.location)
1.15
1.16 -class InvocationResult(Expression, TranslationResult, InstructionSequence):
1.17 +class InvocationResult(Expression, InstructionSequence):
1.18
1.19 "A translation result for an invocation."
1.20
1.21 @@ -264,7 +264,7 @@
1.22 def __repr__(self):
1.23 return "InstantiationResult(%r, %r)" % (self.ref, self.instructions)
1.24
1.25 -class PredefinedConstantRef(Expression, TranslationResult):
1.26 +class PredefinedConstantRef(Expression):
1.27
1.28 "A predefined constant reference."
1.29
1.30 @@ -293,7 +293,7 @@
1.31 def __repr__(self):
1.32 return "PredefinedConstantRef(%r)" % self.value
1.33
1.34 -class BooleanResult(Expression, TranslationResult):
1.35 +class BooleanResult(Expression):
1.36
1.37 "A expression producing a boolean result."
1.38