Closed
Bug 509502
Opened 16 years ago
Closed 15 years ago
Vector functions compiled with -AS3 result in TypeError
Categories
(Tamarin Graveyard :: Virtual Machine, defect, P3)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 513095
flash10.1
People
(Reporter: cpeyer, Assigned: tharwood)
References
Details
as:
function mapper1(value,index,obj) {
return "("+value+":"+index+")";
}
var v1=new Vector.<int>();
v1.push(1);
trace(v1.map(mapper1).toString());
Compile w/ -AS3:
actual result:
TypeError: Error #1010: A term is undefined and has no properties.
at global$init()[t.as:10]
expected:
(1:0)
If -AS3 is omitted, bug does not happen.
Flags: in-testsuite?
Flags: flashplayer-qrb?
Assignee: nobody → tharwood
Flags: flashplayer-qrb? → flashplayer-qrb+
Priority: -- → P3
Target Milestone: --- → flash10.1
Assignee | ||
Comment 1•15 years ago
|
||
The expected result is actually just 0 -- the result of the map is a vector of ints, and the string gets munged by conversion.
Assignee | ||
Comment 2•15 years ago
|
||
Fixed along with other symptoms of 513095.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•