added test for lexical scope sharing through generated closure wrappers, something uncommonly used, but that was a regression

This commit is contained in:
Jeremy Ashkenas
2010-01-24 13:39:27 -05:00
parent 817e8deb27
commit af53a04932
3 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,10 @@
num: 1 + 2 + (a: 3)
print(num is 6)
print(num is 6)
result: if true
false
other: "result"
print(result is "result" and other is "result")