Closed
Bug 693608
Opened 13 years ago
Closed 6 years ago
TRAIT_Method is underspecified.
Categories
(Tamarin Graveyard :: Documentation, defect)
Tamarin Graveyard
Documentation
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: edwsmith, Unassigned)
References
Details
A toplevel function in AS3 source is compiled to a TRAIT_Method of the ABC script object, if it's in a package, but not otherwise. In a script traits, TRAIT_Method is a toplevel function. In a class traits, its a static method. In an instance traits, its either a concrete method or an interface method signature, depending on whether the instance traits is an interface or not. What is it, in an activation traits? is that allowed? Does the use of TRAIT_Method for toplevel functions need more AVM spec coverage, or is this an AS3 language spec issue?
Reporter | ||
Comment 1•13 years ago
|
||
From avm2overview.doc [Trait_Method, Trait_Getter, and Trait_Setter] imply fixture methods, not writable properties. For ES3 compliance Trait_Method should not be used for any function unless the compiler can prove that the function is constant. It does appear that Trait_Method can be used arbitrarily, it’s not restricted to traits on class instances, but this is not documented.
Comment 2•6 years ago
|
||
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Comment 3•6 years ago
|
||
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in
before you can comment on or make changes to this bug.
Description
•