Commit 198a902f authored by Stefan Behnel's avatar Stefan Behnel

inheritance fix

parent da85212a
......@@ -7,7 +7,7 @@
import Nodes
import ExprNodes
from Nodes import Node
from ExprNodes import ExprNode
from ExprNodes import AtomicExprNode
class TempHandle(object):
temp = None
......@@ -17,9 +17,8 @@ class TempHandle(object):
def ref(self, pos):
return TempRefNode(pos, handle=self, type=self.type)
class TempRefNode(ExprNode):
class TempRefNode(AtomicExprNode):
# handle TempHandle
subexprs = []
def analyse_types(self, env):
assert self.type == self.handle.type
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment