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

Parser: Fix Free Floating Comments #30

Open
Tracked by #34
switchupcb opened this issue Jun 27, 2022 · 0 comments
Open
Tracked by #34

Parser: Fix Free Floating Comments #30

switchupcb opened this issue Jun 27, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@switchupcb
Copy link
Owner

Copygen allows developers to define types, structs, and more in its setup.go file and has no issues copying them to the output; except for comments. The Go AST makes it "very difficult to update the AST and retain correct comment place (from 2017)" and is not likely to change any time soon. As a result, Copygen sometimes generates free-floating comments (i.e multi.go). Copygen's comments are handled in its Parser. Feel free to use any necessary libraries or rewriting of the comment-parsing mechanism to fix this issue.

@switchupcb switchupcb added the help wanted Extra attention is needed label Jun 27, 2022
@switchupcb switchupcb mentioned this issue Nov 25, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant