jashkenas/coffee-script — Issue #2018: error using classes
Author: keichii
Created: 2012-01-09 07:14:01+00:00
State: open

https://gist.github.com/1581533

have error:

/usr/local/src/code/mims.coco:1
class HandlerSoc
^^^^^
SyntaxError: Unexpected reserved word
at Module._compile (module.js:429:25)
at Object..js (module.js:452:10)
at Module.load (module.js:353:31)
at Function._load (module.js:310:12)
at /usr/local/src/code/node_modules/coffee-script/lib/coffee-script/coffee-script.js:102:25
at evalmachine.:3:5
at Object.eval (/usr/local/src/code/node_modules/coffee-script/lib/coffee-script/coffee-script.js:125:17)
at Interface. (/usr/local/src/code/node_modules/coffee-script/lib/coffee-script/repl.js:51:34)
at Interface.emit (events.js:67:17)
at Interface._onLine (readline.js:162:10)
at Interface._line (readline.js:426:8)
at Interface._ttyWrite (readline.js:603:14)