Closed
Bug 882855
Opened 12 years ago
Closed 10 years ago
OdinMonkey shouldn't accept arrow-function modules
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: testcase)
(() => { "use asm"; function f() { return 2; } return f; })()()
warning: successfully compiled asm.js code
2
http://asmjs.org/spec/latest/#modules says asm modules must use the "function" keyword.
| Assignee | ||
Updated•11 years ago
|
Assignee: general → nobody
Comment 1•10 years ago
|
||
No longer reproducible - Resolving as WFM.
js> (() => { "use asm"; function f() { return 2; } return f; })()()
typein:warning: asm.js type error: Disabled by arrow function context
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•