Closed
Bug 309029
Opened 19 years ago
Closed 19 years ago
Exception when evaluating recursive function
Categories
(Rhino Graveyard :: Core, defect)
Rhino Graveyard
Core
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: udittmer, Assigned: igor)
Details
Attachments
(2 files)
|
1.14 KB,
text/plain
|
Details | |
|
2.57 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/312.5 (KHTML, like Gecko) Safari/312.3 Build Identifier: The attached program defines a recursive JS function and tries to invoke it from within a Scope. It runs fine with Rhino 1.5R5, but fails with 1.6R2 with: Exception in thread "main" org.mozilla.javascript.EcmaError: ReferenceError: "addOne" is not defined. (addOne#1) Reproducible: Always Steps to Reproduce:
| Reporter | ||
Comment 1•19 years ago
|
||
| Assignee | ||
Comment 2•19 years ago
|
||
Sometime during 1.6R1 development the parser/code generator started to forget that they were called from Context.compileFunction.
| Assignee | ||
Comment 3•19 years ago
|
||
I committed the fix.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•