Commit 1b1d8769 authored by Robert Bradshaw's avatar Robert Bradshaw

minor fixes

parent 1ae591fa
...@@ -2914,12 +2914,12 @@ class DictNode(ExprNode): ...@@ -2914,12 +2914,12 @@ class DictNode(ExprNode):
def analyse_types(self, env): def analyse_types(self, env):
hold_errors() hold_errors()
self.type = dict_type
for item in self.key_value_pairs: for item in self.key_value_pairs:
item.analyse_types(env) item.analyse_types(env)
self.gil_check(env) self.gil_check(env)
self.obj_conversion_errors = held_errors() self.obj_conversion_errors = held_errors()
release_errors(ignore=True) release_errors(ignore=True)
self.type = dict_type
self.is_temp = 1 self.is_temp = 1
def coerce_to(self, dst_type, env): def coerce_to(self, dst_type, 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