Closed
Bug 706584
Opened 14 years ago
Closed 14 years ago
Test media and bug fixes for delete operator on float4
Categories
(Tamarin Graveyard :: Virtual Machine, defect, P3)
Tamarin Graveyard
Virtual Machine
Tracking
(Not tracked)
VERIFIED
FIXED
Q2 12 - Cyril
People
(Reporter: lhansen, Assigned: lhansen)
References
Details
Attachments
(1 file, 1 obsolete file)
|
2.68 KB,
text/plain
|
Details |
So far "delete" has been left out of the float4 spec, but there needs to be a little bit of special support for the numbered properties 0, 1, 2, 3 (and their string representations). Specifically,
v = float4(1)
print(delete v[2])
should print "false", ditto for indices 0, 1, and 3 and "0", "1", "2", "3". Right now the code above throws an error, which is wrong.
Once we have test cases we will also see that there will be bugs filed for the incorrect implementation of delete.
(New specs are forthcoming; the 29 November 2011 specs do not cover this.)
Updated•14 years ago
|
Flags: in-testsuite?
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → lhansen
| Assignee | ||
Comment 1•14 years ago
|
||
These test cases will crash ASC. Filed as bug #711007.
| Assignee | ||
Comment 2•14 years ago
|
||
Attachment #581907 -
Attachment is obsolete: true
| Assignee | ||
Comment 3•14 years ago
|
||
A "delete" on a float4 will always end up in MethodEnv::delproperty through both interpreter and jit, so the logic can probably be concentrated in that method.
| Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 4•14 years ago
|
||
Code, spec, and test media in sync as of these revisions:
tr-float:
changeset: 7087:10d6f2a953fc
tag: tip
user: Lars T Hansen <lhansen@adobe.com>
date: Thu Dec 15 14:44:54 2011 +0100
summary: Fix 706584 - Test media and bug fixes for delete operator on float4
specs:
changeset: 762:e6b8a420b247
tag: tip
user: Lars T Hansen <lhansen@adobe.com>
date: Thu Dec 15 14:52:18 2011 +0100
summary: Clarified the behavior of the delete operator on float4
Comment 5•14 years ago
|
||
changeset: 7143:23de30953af3
user: Brent Baker <brbaker@adobe.com>
summary: Bug 706584: add delete testcase for float4 that produces a reference error that must be compiled without strict mode
http://hg.mozilla.org/tamarin-redux/rev/23de30953af3
Updated•14 years ago
|
Status: RESOLVED → VERIFIED
Flags: in-testsuite? → in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•