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

Comments in an enum cause tokens to be pushed into comment #1254

Closed
rakudrama opened this issue Aug 23, 2023 · 0 comments · Fixed by #1262
Closed

Comments in an enum cause tokens to be pushed into comment #1254

rakudrama opened this issue Aug 23, 2023 · 0 comments · Fixed by #1262
Labels

Comments

@rakudrama
Copy link
Member

It might be just that the comment is missing a terminating newline.

Before:

enum EE {
  a,
  b, // 'b'
  c
}

After dart format:

enum EE { a, b, // 'b' c }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants