Skip to content

Does not work with kotlin 2.0 and above #1

@ghostflyby

Description

@ghostflyby

🐛 Describe the bug

error when compiling targeting kotlin 2.0.

⚠️ Current behavior

error when compiling with

e: file:///Users/ghostflyby/repos/minecraft/examplemod/common/src/main/kotlin/net/example/ItemHandler.kt:3:1 Expected ItemHandler has no actual declaration in module for JVM

even if the actual declaration is there.

✅ Expected behavior

It compiles with no error.

💣 Steps to reproduce

Changing the kotlin version of https://github.com/kernel-panic-codecave/Archie to 2.0.0 and it will fail on build due to expect/actual mismatch.

📱 Tech info

  • Device: MacBook Pro
  • OS: macOS
  • Library/App version: 1.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions