NEW 156617
Web Inspector: JS Pretty Printing - Some comments get lost
https://bugs.webkit.org/show_bug.cgi?id=156617
Summary Web Inspector: JS Pretty Printing - Some comments get lost
Joseph Pecoraro
Reported 2016-04-14 19:29:03 PDT
* SUMMARY JS Pretty Printing - Some comments get lost. * TEST { 1; // Test } * RESULTS { 1; } * EXPECTED { 1; // Test } * DEBUG BlockStatement Punctuator { Literal Numeric 1 ExpressionStatement Punctuator ; ** T Comment (1) Line Test BlockStatement Punctuator } * NOTES This is apparently a bad arrangement of Punctuators and Comments which ends up having this comment only as a "Trailing" comment for the Expression and not a "Leading" comment for the block... Not sure where it would be best to handle this comment.
Attachments
Alexey Proskuryakov
Comment 1 2016-09-08 14:01:22 PDT
Note You need to log in before you can comment on or make changes to this bug.