termi / es6-transpiler

Tomorrow's JavaScript syntax today
Other
216 stars 18 forks source link

TypeError: Cannot read property '0' of undefined #47

Closed kobezzza closed 10 years ago

kobezzza commented 10 years ago

Version: 0.7.16-2

Code:

var foo = {
    '[': true
};

Error:

this.alter.remove(propKey$0.bracesRange[0], propKey$0.bracesRange[0] + 1)
TypeError: Cannot read property '0' of undefined
termi commented 10 years ago

@kobezzza Спасибо! Я, заодно, написал дополнительные тесты и пофиксил другие баги, косвенно связанные с этим.