jashkenas/coffee-script — Issue #1923: @method parse error
Author: lightblade
Created: 2011-12-10 08:49:14+00:00
State: open

Found in CoffeeScript 1.1.3 w/ NodeJS 0.4.12

class Child extends Parent
run: ->
@parentMethod 'arg1' 'arg2'

This causes a parse error.

I'm was expecting

@parentMethod 'arg1' 'arg2'

get expanded into

this.parentMethod('arg1', 'arg2');