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

Trailing comma not allowed in Kotlin 1.4-M3 #367

Closed
edenman opened this issue Jul 15, 2020 · 1 comment
Closed

Trailing comma not allowed in Kotlin 1.4-M3 #367

edenman opened this issue Jul 15, 2020 · 1 comment

Comments

@edenman
Copy link

edenman commented Jul 15, 2020

data class Foo(
  val taco: Boolean,
  val quelites: Boolean, 
)

This is valid Kotlin as of 1.4, but ktlint 9.2.1 barfs on it:

Not a valid Kotlin file (expecting a parameter declaration) (cannot be auto-corrected)
@Tapchicoma
Copy link
Collaborator

Please follow this ktlint issue: pinterest/ktlint#729

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

No branches or pull requests

2 participants