Closed Bug 1368316 Opened 8 years ago Closed 7 years ago

Support ES7 Decorators

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1435869

People

(Reporter: elennaro, Unassigned)

Details

(Keywords: triage-deferred)

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0 Build ID: 20170518000419 Steps to reproduce: Feature request: Support ES7 Decorators Please take a look at this spec: https://github.com/wycats/javascript-decorators Also at this article: https://medium.com/google-developers/exploring-es7-decorators-76ecb65fb841 Actual results: Decorators are not supported Expected results: Should be supported
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Version: 53 Branch → unspecified
here's current proposal. http://tc39.github.io/proposal-decorators/ according to the list below, it's stage 2. https://github.com/tc39/proposals and it's not yet the time to implement. https://tc39.github.io/process-document/
Thank you Tooru Fujisawa [:arai]. Angular 4 is using Decorators actively. So let's hope the spec will be finalized soon and we'll be able to implement it.
Hope we can have something soon! In firefox codebase we have issue to migrate to ES6 classes since we can't decorate functions; and that's is resulting in mixed code – the ones that uses decorators is still using `prototype`, the rest is using `class`.
Keywords: triage-deferred
Priority: -- → P3
Dup-ing forward to the other bug -- we only need one of these!
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.