Closed
Bug 440125
Opened 16 years ago
Closed 16 years ago
Implement the slice operator
Categories
(Tamarin Graveyard :: Self-hosting compiler (ESC), defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: lhansen, Unassigned)
Details
Attachments
(1 file)
4.40 KB,
patch
|
jodyer
:
review+
|
Details | Diff | Splinter Review |
This patch alters the parsing of the slice operator to generate a call node that calls AS3::slice on the receiver object, passing the arguments that were used in the slice expression (with defaults generated as appropriate). Since AS3::slice on strings and arrays only accepts two arguments at the present time a three-value form of the slice operator will generate a run-time error, but that's just a detail.
Attachment #325622 -
Flags: review?(jodyer)
Attachment #325622 -
Flags: review?(jodyer) → review+
Reporter | ||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•