Closed Bug 882855 Opened 12 years ago Closed 10 years ago

OdinMonkey shouldn't accept arrow-function modules

Categories

(Core :: JavaScript Engine, defect)

x86_64
macOS
defect
Not set
minor

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: general → nobody
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.