https://kotlinlang.org logo
Title
p

pablisco

10/07/2020, 10:46 PM
I'm getting this error with ktlint:
Not a valid Kotlin file (expecting a parameter declaration) (cannot be auto-corrected)
The line in question has a trailing comma, is this something we need to enable on ktlint? Or maybe we need to upgrade ktlint? I found this, but there doesn't seem to be any resolution, it's just closed 🤔 https://github.com/pinterest/ktlint/issues/729
r

Rachel

10/09/2020, 10:30 AM
Hi @pablisco!! I didn't get that error yet. Both versions, KTLint and KTLint Gradle Plugin could be updated. Thanks!!! 🙌
p

pablisco

10/09/2020, 10:31 AM
👍 Do we have a ticket for that? I'll see if I can get some time to havea look at upgrading them
d

danieeh

10/09/2020, 3:10 PM
Hi @pablisco I just created the ticket: https://github.com/arrow-kt/arrow/issues/2228 It was also failing for
fun-interfaces
Feel free to take it anytime!! Thanks!! 😄
💯 1
p

pablisco

10/09/2020, 3:11 PM
Thank you @danieeh I'll see if I can look at it tonight
🙌 1
🔝 1