Closed
Bug 586830
Opened 14 years ago
Closed 14 years ago
Narcissus does not handle empty return statements
Categories
(Other Applications Graveyard :: Narcissus, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: taustin, Assigned: taustin)
Details
Attachments
(1 file)
5.48 KB,
patch
|
shu
:
review+
|
Details | Diff | Splinter Review |
$ ./njs -e 'function f() { return; }; f();' uncaught exception: PANIC: unknown operation undefined: "return" $ ./js -e 'function f() { return; }; f();' $
Assignee | ||
Comment 1•14 years ago
|
||
Fixes the parser and interpreter to correctly handle returns with no values. (Thanks to Shu for his tips on the parser section). Also, updates narcissus-failures.txt.
Assignee: nobody → taustin
Attachment #473274 -
Flags: review?(shu)
Updated•14 years ago
|
Attachment #473274 -
Flags: review?(shu) → review+
Assignee | ||
Comment 2•14 years ago
|
||
Changelist: http://hg.mozilla.org/tracemonkey/rev/bc7cd0c9b6d0
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: Other Applications → Other Applications Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•