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)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 938203
People
(Reporter: ro.schuele, Unassigned)
Details
Attachments
(1 file)
660 bytes,
image/png
|
Details |
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.
Comment 1•10 years ago
|
||
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
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•