You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.
I just had an insane debug session because of something like this:
node=newNode()
# orgNode = nodenode.props= (node.propfor node in siblings) # if siblings is not empty# -> orgNode != node
Of course, after the list comprehension has been executed node is not the previously constructed node.
In Python the list comprehension would create a new namespace so this would work. As it does not behave the same in CoffeeScript I would really appreciate a warning about the name clash.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey,
I just had an insane debug session because of something like this:
Of course, after the list comprehension has been executed
node
is not the previously constructed node.In Python the list comprehension would create a new namespace so this would work. As it does not behave the same in CoffeeScript I would really appreciate a warning about the name clash.
The text was updated successfully, but these errors were encountered: