Closed
Bug 519692
Opened 16 years ago
Closed 16 years ago
Failed to decompile expressions like "new Date()"
Categories
(Rhino Graveyard :: Core, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mguillemot, Unassigned)
Details
Attachments
(1 file)
|
2.51 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009090216 Ubuntu/9.04 (jaunty) Firefox/3.0.14
Build Identifier:
Compile following to a script
var x = new Date().getTime()
then decompile it and you will get
var x = new Date.getTime()
what is wrong!
Reproducible: Always
Comment 2•16 years ago
|
||
Submitted, thanks!
Checking in src/org/mozilla/javascript/IRFactory.java;
/cvsroot/mozilla/js/rhino/src/org/mozilla/javascript/IRFactory.java,v <-- IRFactory.java
new revision: 1.128; previous revision: 1.127
done
Checking in testsrc/opt-1.tests;
/cvsroot/mozilla/js/rhino/testsrc/opt-1.tests,v <-- opt-1.tests
new revision: 1.7; previous revision: 1.6
done
Checking in testsrc/opt0.tests;
/cvsroot/mozilla/js/rhino/testsrc/opt0.tests,v <-- opt0.tests
new revision: 1.7; previous revision: 1.6
done
Checking in testsrc/opt9.tests;
/cvsroot/mozilla/js/rhino/testsrc/opt9.tests,v <-- opt9.tests
new revision: 1.7; previous revision: 1.6
done
RCS file: /cvsroot/mozilla/js/rhino/testsrc/org/mozilla/javascript/tests/DecompileTest.java,v
done
Checking in testsrc/org/mozilla/javascript/tests/DecompileTest.java;
/cvsroot/mozilla/js/rhino/testsrc/org/mozilla/javascript/tests/DecompileTest.java,v <-- DecompileTest.java
initial revision: 1.1
done
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•