Closed Bug 1004038 Opened 11 years ago Closed 11 years ago

Pretty print breaks ES6 code

Categories

(DevTools Graveyard :: Scratchpad, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 938203

People

(Reporter: jwalker, Unassigned)

Details

Paste into Scratchpad: let hal = 'weapon'; const antinople = 'Istanbul'; And press 'Pretty Print'. Also 'yield s;'.
Yeah, it only supports ES5. We need acorn to support ES6 before pretty-fast can.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.