Commit 1aa2cc5e authored by Kevin Modzelewski's avatar Kevin Modzelewski

Fix issue where we couldn't have set literals in inner scopes

parent f8b46de3
......@@ -278,6 +278,7 @@ public:
bool visit_raise(AST_Raise* node) override { return false; }
bool visit_repr(AST_Repr* node) override { return false; }
bool visit_return(AST_Return* node) override { return false; }
bool visit_set(AST_Set* node) override { return false; }
bool visit_slice(AST_Slice* node) override { return false; }
bool visit_str(AST_Str* node) override { return false; }
bool visit_subscript(AST_Subscript* node) override { return false; }
......
......@@ -59,3 +59,7 @@ s = set(range(5))
print len(s)
s.clear()
print s
def f2():
print {5}
f2()
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