Commit 6c565517 authored by Tom Niget's avatar Tom Niget

Always emit dict type in literal

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