Closed Bug 1483913 Opened 6 years ago Closed 5 years ago

prettifying comments in js/src/gdb/mozilla/unwind.py

Categories

(Developer Infrastructure :: Lint and Formatting, enhancement)

enhancement
Not set
normal

Tracking

(firefox66 fixed)

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: tromey, Assigned: tromey)

Details

Attachments

(1 file)

Bug 1464869 made js/src/gdb/mozilla/unwind.py somewhat uglier,
introducing two newlines between comments and the things they 
describe.

For example:
https://dxr.mozilla.org/mozilla-central/source/js/src/gdb/mozilla/unwind.py#532-537
Hi Sylvestre.  I'm wondering what I can do to make this more readable again.
Thanks.
Flags: needinfo?(sledru)
My personal suggestion at least in that particular case is to actually use a doc string.
Assignee: nobody → ttromey
Flags: needinfo?(sledru)
Bug 1464869 resulted in blank lines being inserted between comments
and the classes they describe in the gdb unwinder code.  This patch
changes most of these comments into doc strings instead.

MozReview-Commit-ID: 6XQwheUNRxI
Pushed by ttromey@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d8a71e4402fc
prettify gdb unwinder comments; r=nbp

The tests aren't run in automation so I tried them out locally first.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: