Commit 05a1bbca authored by Stefan Behnel's avatar Stefan Behnel

copy 'constant_result' field in from_node() method

parent a819fc64
......@@ -859,7 +859,7 @@ class ExprNode(Node):
"""Instantiate this node class from another node, properly
copying over all attributes that one would forget otherwise.
"""
attributes = "cf_state cf_maybe_null cf_is_null".split()
attributes = "cf_state cf_maybe_null cf_is_null constant_result".split()
for attr_name in attributes:
if attr_name in kwargs:
continue
......
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