Merge branch 'bugfix-1436' of git://github.com/thejh/coffee-script into thejh_1448

This commit is contained in:
Michael Ficarra
2011-06-30 11:53:24 -04:00
3 changed files with 5 additions and 3 deletions

View File

@@ -215,3 +215,6 @@ test "#1274: `{} = a()` compiles to `false` instead of `a()`", ->
fn = -> a = true
{} = fn()
ok a
test "#1436: `for` etc. work as normal property names", ->
doesNotThrow -> CoffeeScript.compile "foo.for = 'bar' of foo"