jscs-dev/node-jscs

JSCS crashes due to decorators

trikadin opened this issue · 1 comments

function decorator() {
    return () => {};
}

class Foo {
    @decorator()
    get bar() {
        return 'bla';
    }
}

Sometimes it just hangs, sometimes writes "Expected end of node list but "Punctuator" found".

Replaced with cst/cst#132