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

Include end of file comments #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

easafe
Copy link
Member

@easafe easafe commented Mar 11, 2024

Fix formatter bug that eof comments are ignored.

Fix formatter bug that eof comments are ignored.
public static void noop() {}
}
//test comment
// oie`},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's fix this as well, when there's a token after the comment, but no more parse nodes:

public class MyClass {
	public static void noop() {}
   // No more nodes after this
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants