Skip to content

NoSuchMethod error during compileKotlin #67

Open
@martijnvanderwoud

Description

Describe the bug
Adding the arrow analysis gradle plugin results in a NoSuchMethodError exception when we try to compile our project

To Reproduce
Steps to reproduce the behavior:

  1. Add id("io.arrow-kt.analysis.kotlin") version "2.0.2" to the gradle plugins section
  2. Try to build your project
  3. See that the compileKotlin task fails with "java.lang.NoSuchMethodError: 'void org.jetbrains.kotlin.ir.util.KotlinLikeDumpOptions.(boolean, boolean, boolean, boolean, org.jetbrains.kotlin.ir.util.LabelPrintingStrategy, org.jetbrains.kotlin.ir.util.FakeOverridesStrategy, boolean, int, kotlin.jvm.internal.DefaultConstructorMarker)'"

Expected behavior
Compilation should succeed without exceptions

Environment (please complete the following information):

  • Kotlin version 1.9.22 (jvm)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions