Commit cf70c107 authored by Stefan Behnel's avatar Stefan Behnel

Fix method signature.

parent 134e7acc
...@@ -10782,7 +10782,7 @@ class TypeofNode(ExprNode): ...@@ -10782,7 +10782,7 @@ class TypeofNode(ExprNode):
self.literal = literal.coerce_to_pyobject(env) self.literal = literal.coerce_to_pyobject(env)
return self return self
def analyse_as_type(env): def analyse_as_type(self, env):
self.operand = self.operand.analyse_types(env) self.operand = self.operand.analyse_types(env)
return self.operand.type return self.operand.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