Closed
Bug 149285
Opened 23 years ago
Closed 23 years ago
Complier does not report the correct line number on SyntaxError:Invalid assignment left-hand side.
Categories
(Rhino Graveyard :: Compiler, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
1.5R4
People
(Reporter: zoltan.luspai, Assigned: norrisboyd)
Details
Attachments
(1 file)
|
1.07 KB,
text/plain
|
Details |
This script throws an EcmaError which is correct, but the EcmaError contains
invalid 0 as line number for the error:
a=15;
b='test';
if(DateTime.length() = 14)
{
}
Please see the attached JUnit test case reproduces the problem.
| Reporter | ||
Comment 1•23 years ago
|
||
| Assignee | ||
Comment 2•23 years ago
|
||
Fixed:
Checking in IRFactory.java;
/cvsroot/mozilla/js/rhino/src/org/mozilla/javascript/IRFactory.java,v <--
IRFactory.java
new revision: 1.23; previous revision: 1.22
done
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 3•23 years ago
|
||
Zoltan, could you verify that this bug is now fixed? If so, please
mark this bug "Verified"; otherwise, you can reopen it; thanks -
You need to log in
before you can comment on or make changes to this bug.
Description
•