Closed Bug 1032418 Opened 10 years ago Closed 10 years ago

Scratchpad [Pretty Print] inserts space in "=>", makes it into "= >"

Categories

(DevTools Graveyard :: Scratchpad, defect)

30 Branch
x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 938203

People

(Reporter: ro.schuele, Unassigned)

Details

Attachments

(1 file)

Attached image pretty print.PNG
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release) Build ID: 20140605174243 Steps to reproduce: 0. run ff 30.0 on windows 1. open scratchpad 2. enter code: (x => true)() 3. hit [Pretty Print]-button 4. ??? Actual results: 4. code becomes: (x = > true) () bonus. hit [Display], get /* Exception: syntax error @Scratchpad/1:9 */ Expected results: "=>" should remain umblemished and no space shall be inserted in between its two characters as there is nothing pretty about that.
Component: Untriaged → Developer Tools: Scratchpad
Thanks for the report, Peter. Currently, the pretty printer only supports ES5, and we are tracking ES6 support in bug 938203.
Status: UNCONFIRMED → RESOLVED
Closed: 10 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.

Attachment

General

Creator:
Created:
Updated:
Size: