Closed
Bug 1368316
Opened 8 years ago
Closed 7 years ago
Support ES7 Decorators
Categories
(Core :: JavaScript Engine, defect, P3)
Core
JavaScript Engine
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
Comment 1•8 years ago
|
||
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.
Updated•8 years ago
|
Keywords: dev-doc-needed
Comment 3•8 years ago
|
||
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`.
Updated•8 years ago
|
Keywords: triage-deferred
Priority: -- → P3
Comment 4•7 years ago
|
||
Dup-ing forward to the other bug -- we only need one of these!
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Keywords: dev-doc-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•