maxtaco / coffee-script

IcedCoffeeScript
http://maxtaco.github.com/coffee-script
MIT License
727 stars 58 forks source link

SyntaxError: the variable "..." can't be assigned with ?= because it has not been declared before #70

Closed alexgorbatchev closed 11 years ago

alexgorbatchev commented 11 years ago

Causes the error...

await doStuff defer err, result
err ?= new Error '...' unless result?

However below works as expected

await doStuff defer err, result
console.log err

Expect first case to work same as the second

alexgorbatchev commented 11 years ago

duplicate of #50