Closed
Bug 420839
Opened 17 years ago
Closed 13 years ago
DVG of |yield| expression seems to fail
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: testcase)
js> for (let i in (function() { (yield 1).a=3 })());
typein:1: TypeError: (void 0) is undefined
Should be: TypeError: (yield 1) is undefined
Reporter | ||
Comment 1•17 years ago
|
||
Or maybe this is fine, and error messages are allowed to use uneval sometimes rather than decompiling an expression.
Updated•14 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
![]() |
||
Comment 2•13 years ago
|
||
js> for (let i in (function() { (yield 1).a=3 })());
typein:1:29 TypeError: undefined has no properties
Not great, but not wrong.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•