Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with kotlin 2.0 and above #1

Open
ghostflyby opened this issue Sep 15, 2024 · 0 comments
Open

Does not work with kotlin 2.0 and above #1

ghostflyby opened this issue Sep 15, 2024 · 0 comments

Comments

@ghostflyby
Copy link

🐛 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant