Commit 78e134ed authored by Robert Bradshaw's avatar Robert Bradshaw

Fix compile time division.

parent ed8aac8a
...@@ -5992,7 +5992,7 @@ class DivNode(NumBinopNode): ...@@ -5992,7 +5992,7 @@ class DivNode(NumBinopNode):
operand2 = self.operand2.compile_time_value(denv) operand2 = self.operand2.compile_time_value(denv)
try: try:
func = self.find_compile_time_binary_operator( func = self.find_compile_time_binary_operator(
self, operand1, operand2) operand1, operand2)
return func(operand1, operand2) return func(operand1, operand2)
except Exception, e: except Exception, e:
self.compile_time_value_error(e) self.compile_time_value_error(e)
......
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