Closed
Bug 1324791
Opened 7 years ago
Closed 7 years ago
Scratchpad: Pretty printing arrow functions causes broken syntax: => becomes = >
Categories
(DevTools Graveyard :: Scratchpad, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1302058
People
(Reporter: pathall, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:51.0) Gecko/20100101 Firefox/51.0 Build ID: 20161215085501 Steps to reproduce: 1. Open the scratchpad. 2. Enter: var f = x => x * 2; 3. Hit "Pretty Print" Actual results: the function is converted to: var f = x = > x * 2; Expected results: There shouldn't be a space in the arrow: =>, not = >.
Reporter | ||
Updated•7 years ago
|
Component: Untriaged → Developer Tools: Scratchpad
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•4 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•