Closed
Bug 652113
Opened 13 years ago
Closed 13 years ago
JSON: final, or [[Extensible]] ??
Categories
(Tamarin Graveyard :: Library, defect, P3)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
Q3 11 - Serrano
People
(Reporter: pnkfelix, Unassigned)
References
Details
Bill rightly asked in his review:
> public final class JSON
How does final modifier comport with [[Extensible]] === true (ecma 262 15.2)?
I don't know the answer. When I find out, I'll post it here (along with any necessary fixup patches).
Flags: flashplayer-qrb+
Flags: flashplayer-fixedlocally+
Flags: flashplayer-bug-
Priority: -- → P3
Target Milestone: --- → Q3 11 - Serrano
Comment 1•13 years ago
|
||
The [[Extensible]] concept of ES5 corresponds to the "dynamic" concept of AS3; "final" only restricts subclassing.
All class objects in AS3 are dynamic, this is a fact of life. (A ClassDefinition defines both a class (non-static properties) and a metaclass (static properties), both of which can be instantiated; the metaclass is automatically instantiated as the class object. The metaclass is always dynamic, while the class is dynamic if the dynamic keyword is present on the class definition.) Thus the JSON object in AS3 will necessarily be [[Extensible]] in AS3 terms.
Reporter | ||
Comment 2•13 years ago
|
||
clearly we need a "WORKSFORLARS" bug resolution status option.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•