Closed Bug 478789 Opened 16 years ago Closed 6 years ago

String.localeCompare - passing 2 arguments results in incorrect ArgumentError

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: jodyer, Unassigned)

References

Details

code: x = 'a'; x.localeCompare('a','b'); Compile with -ES3 option. Actual Results: ArgumentError: Error #1063: Argument count mismatch on (). Expected 0, got 2. at global$init() Expected Results: 0 (second arg ignored - which is the same behavior as using -AS3) or at least "Expected 1, got 2" Workaround: none Transferred Comments: BugDB Migration - Mon Jun 04 12:33:01 CDT 2007 [cpeyer 12/14/06] Entered Bug. [cpeyer 12/14/06] Not sure if this is a compiler or avm issue. Let me know if I should transfer to bugzilla. JIRA Migration Admin - Mon Jun 04 12:33:01 CDT 2007 Milestone ID = 1378 Milestone = FP 10 - Code Complete Build ID = 23495 Build = AVMPLUS_1_0_0_d693 Fix Build ID = null Fix Build = null JIRA Migration Admin - Mon Jun 04 12:33:01 CDT 2007 Move from BugDB issue number 193482 Trevor Baker - Tue Jan 27 16:38:42 CST 2009 send to internal review for prioritization Jeff Dyer - Mon Feb 02 15:37:50 CST 2009 Transfer to Bugzilla. Jd This bug transferred from: http://bugs.adobe.com/jira/browse/ASC-2296
Blocks: AS3_Builtins
Target Milestone: --- → Future
Current behavior of this issue using asc 9149 and tamarin-redux 2680, abc compiled with -AS3 $ java -jar $ASC -import $BUILTINABC -import $SHELLABC -AS3 test.as $ $AVM test.abc ArgumentError: Error #1063: Argument count mismatch on String/http://adobe.com/AS3/2006/builtin::localeCompare(). Expected 0, got 2. at global$init()
Flags: flashplayer-triage+
Flags: flashplayer-qrb+
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in before you can comment on or make changes to this bug.