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

Optimize comment after source code detection. #1672

Merged
merged 1 commit into from
Apr 26, 2021

Conversation

nojaf
Copy link
Contributor

@nojaf nojaf commented Apr 22, 2021

Fixes #1671, depends on #1656.

Improved the trivia detection via the F# tokens.
Specifically, the detection if a code comment is on a single line or after the source.

@nojaf nojaf merged commit 0d8d7c7 into fsprojects:master Apr 26, 2021
@nojaf nojaf deleted the fix-1671 branch May 15, 2021 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Comment after constant got moved to the next line.
1 participant