-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
i: needs triageoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue
Description
Bug Report
- I would like to work on a fix!
Current Behavior
Comments in parentheses disappear when compiled.
Example here:
Input Code
foo/* WORKING */(/* NOT WORKING */)Current result:
"use strict";
foo
/* WORKING */
();Expected behavior/code
The comment in parentheses should be here after transpilation.
"use strict";
foo
/* WORKING */
(
/* NOT WORKING */
);I use the default configuration to reproduce this issue. Of course, shouldPrintComment has no effect on that. The issue seems to be before the function provided by shouldPrintComment.
Environment
System:
OS: macOS Mojave 10.14.6
Binaries:
Node: 13.8.0 - ~/bin/brew/bin/node
Yarn: 1.22.0 - ~/bin/brew/bin/yarn
npm: 6.13.7 - ~/bin/brew/bin/npm
Do you agree that this behavior is not the expected one ?
Thanks for your help !
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
i: needs triageoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue