Commit 59f8fe73 authored by Stefan Behnel's avatar Stefan Behnel

fix #463: TypeofNode crashes when typeof() is called on expressions

parent 98216596
......@@ -4413,7 +4413,7 @@ class TypeofNode(ExprNode):
literal = None
type = py_object_type
subexprs = ['operand', 'literal']
subexprs = ['literal']
def analyse_types(self, env):
self.operand.analyse_types(env)
......
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