Plugin fails with context parameters #906
timotuunanen
started this conversation in
General
Replies: 1 comment 1 reply
-
This is probably due to the ktlint version you are using. Try changing that to a version compatible with Kotlin 2.2 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am just updating my project to use Kotlin 2.2.0. However ktlint fails on following code:
context (rc: Raise)
fun ApplicationCall.getSession(): UserSession =
....
With:
256:12 Expecting comma or ')'
KtLint failed to parse file: ...
Beta Was this translation helpful? Give feedback.
All reactions