mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
added test for lexical scope sharing through generated closure wrappers, something uncommonly used, but that was a regression
This commit is contained in:
@@ -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")
|
||||
Reference in New Issue
Block a user