Commit 8af73878 authored by Tom Niget's avatar Tom Niget

Always emit dict type in literal

parent 489d0d22
...@@ -209,7 +209,8 @@ class ExpressionVisitor(NodeVisitor): ...@@ -209,7 +209,8 @@ class ExpressionVisitor(NodeVisitor):
yield "}" yield "}"
if node.keys: if node.keys:
yield "PyDict{" yield from self.visit(node.type)
yield "{"
yield from join(", ", map(visit_item, node.keys, node.values)) yield from join(", ", map(visit_item, node.keys, node.values))
yield "}" yield "}"
else: else:
......
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