Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move tracker comments back to innerComments #447

Open
overlookmotel opened this issue Nov 5, 2022 · 0 comments
Open

Move tracker comments back to innerComments #447

overlookmotel opened this issue Nov 5, 2022 · 0 comments
Labels
enhancement Improvements

Comments

@overlookmotel
Copy link
Owner

As workaround for babel/babel#15138, 1b27938 moves tracker comments on functions and classes to leadingComments on function/class id, params or body. Previously comments were placed as innerComments on the function/class itself.

This is largely fine, but these tracker comments should always be the first comments in the function, and small chance that an "inner" comment in source code could get output before it.

Once babel/babel#15138 is fixed, revert 1b27938 to put tracker comments in innerComments again.

@overlookmotel overlookmotel added the enhancement Improvements label Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements
Projects
None yet
Development

No branches or pull requests

1 participant