Closed Bug 1123641 Opened 5 years ago Closed 5 years ago

dissrc does not work

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla38

People

(Reporter: tromey, Assigned: tromey)

Details

Attachments

(1 file)

I tried the "dissrc" function, using a "js" built from a recent
hg tree.  It did not do anything:

pokyo. cat /tmp/r.js
function f() { }
pokyo. ./obj-x86_64-unknown-linux-gnu/dist/bin/js
js> load("/tmp/r.js")
js> dissrc(f)
js> 


The problem is that dissrc creates a Sprinter but then
discards the results collected there.

I'll attach a patch shortly.
Assignee: nobody → ttromey
Attachment #8551769 - Flags: review?(jdemooij)
Comment on attachment 8551769 [details] [diff] [review]
change dissrc to print result

Review of attachment 8551769 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good, thanks.
Attachment #8551769 - Flags: review?(jdemooij) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/e709973a9049
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in before you can comment on or make changes to this bug.