-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When using Kotlin 2.2.0 with context parameters, diktat is unable to parse the code, failing to apply via Spotless.
Expected behavior
diktat should not fail when context parameters are used.
Observed behavior
When invoking the Spotless Gradle plugin, I get an error: diktat(diktat) Expecting comma or ')'
Steps to Reproduce
Use context parameters in a Kotlin file, then run diktat through Spotless.
It probably reproduces by just using diktat directly as well, but I haven't checked.
Environment information
- diktat version: 2.0.0
- build tool (maven/gradle): Gradle
- how is diktat run (CLI, plugin, etc.): Via Spotless' Gradle plugin
- kotlin version: 2.2.0
- operating system: macOS
- link to a project (if your project is public): N/A
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working