Closed
Bug 922432
Opened 11 years ago
Closed 11 years ago
"invalid asm.js statement" shows wrong line number (semicolon of the previous statement)
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: jruderman, Assigned: luke)
Details
(Keywords: testcase)
Attachments
(1 file)
987 bytes,
patch
|
sstangl
:
review+
|
Details | Diff | Splinter Review |
function v() { "use asm"; var x = 5; y = 5; } Result: p.js:4:12 warning: asm.js type error: invalid asm.js statement Expected: p.js:5:2 warning: asm.js type error: invalid asm.js statement
Assignee | ||
Comment 1•11 years ago
|
||
Bug 900669 adds a peekTokenPos() which is what we need here to report the position of the error.
Assignee: nobody → luke
Status: NEW → ASSIGNED
Assignee | ||
Updated•11 years ago
|
Attachment #812651 -
Flags: review?(sstangl)
Updated•11 years ago
|
Attachment #812651 -
Flags: review?(sstangl) → review+
Assignee | ||
Comment 2•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b299be671230
https://hg.mozilla.org/mozilla-central/rev/b299be671230
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in
before you can comment on or make changes to this bug.
Description
•