Closed
Bug 922432
Opened 13 years ago
Closed 12 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•13 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•12 years ago
|
Attachment #812651 -
Flags: review?(sstangl)
Updated•12 years ago
|
Attachment #812651 -
Flags: review?(sstangl) → review+
| Assignee | ||
Comment 2•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in
before you can comment on or make changes to this bug.
Description
•