tc39 / test262

Official ECMAScript Conformance Test Suite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Decorators proposal does not have enough tests

nicolo-ribaudo opened this issue · comments

There are only syntax tests for the decorators proposal, and no behavior tests: https://github.com/search?q=repo%3Atc39%2Ftest262+path%3Adecorator+path%3A%2F%5Etest%5C%2Flanguage%5C%2F%2F&type=code

Babel has been passing all test262 decorators tests for a while, but we still found a lot of bugs in our implementation:

I'm opening this issue because I saw that there is no issue or PR about that proposal, and in our new stages process it probably wouldn't qualify for Stage 3.

EDIT: Something else interesting to test:

Also, there are some very good tests by @evanw at https://github.com/evanw/decorator-tests

I’m planning on working on this in the next few weeks