Followup orange fix, had these fixed in one tree but not the one from which I pushed the changes... r=waylon

This commit is contained in:
Jeff Walden 2010-04-21 17:34:55 -07:00
parent a2978a2dfe
commit 854a499a28
2 changed files with 1 additions and 6 deletions

View File

@ -162,11 +162,6 @@ function test()
var f = new Function("[] = [( '' )()];");
"" + f;
// =====
var f = new Function("let ([] = [({ get x5 this (x) {} })]) { for(let y in []) with({}) {} }");
"" + f;
// =====
try

View File

@ -65,7 +65,7 @@ function test()
reportCompare(expect, actual, summary + ': 2');
// Assertion failure: JOF_OPTYPE(op) == JOF_ATOM, at ../jsemit.cpp:5916
({ set z(){}, set y x()--x });
({ set z(){}, set y()--x, set w()--w });
reportCompare(expect, actual, summary + ': 3');
exitFunc ('test');