Skip to content

Conversation

@lynaghk
Copy link

@lynaghk lynaghk commented Dec 9, 2011

No description provided.

Mike Blume and others added 8 commits July 31, 2011 18:45
jashkenas#1541

with thanks to analyst74 whose bug report made the fix trivial =)
Check for existence of this.context. Avoid build error.
…ions in function parameters."

This reverts commit 80ba5b9.

Doing this because I don't want to break compatibility with regular CoffeeScript.
Conflicts:
	extras/coffee-script.js
	lib/coffee-script.js
	lib/nodes.js
	src/coffee-script.coffee
	src/nodes.coffee

Two tests failing on node v0.6.5---I think these'll get fixed upstream.
…ility.

This fixes problems in advanced mode compilation when using the fat arrow at the same time as importing a namespace with alias.
The fat arrow adds a __bind function, but the import compiles to a goog.scope, in which you're not allowed to declare new vars.

See nice goog scope article here:

    http://shifteleven.com/articles/2011/08/25/aliases-with-google-closure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants