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

[1.6.0-beta01] Unresolved stdlib imports in IDEA when only jvm and wasmJs targets are enabled #4230

Open
arkivanov opened this issue Feb 4, 2024 · 2 comments
Labels
bug Something isn't working p:high High priority

Comments

@arkivanov
Copy link
Contributor

Describe the bug
IDEA shows stdlib imports unresolved with Compose 1.6.0-beta01 and only two targets enabled: jvm and wasmJs. If I add e.g. iosX64 target then imports are resolved again. Also works fine with Compose 1.6.0-alpha01.

Affected platforms

  • Desktop
  • Web (K/Wasm) - Canvas based API

Versions

  • Kotlin version*: 1.9.21
  • Compose Multiplatform version*: 1.6.0-beta01
  • OS version(s)* (required for Desktop and iOS issues): macOS 13.5.2
  • OS architecture (x86 or arm64): arm64
  • JDK (for desktop issues): jbr-17
  • IDE: IntelliJ IDEA 2023.3.3 (Ultimate Edition)

To Reproduce

See the project: Reproducer.zip

Expected behavior

Stdlib imports are resolved.

Screenshots

image

@arkivanov arkivanov added bug Something isn't working submitted labels Feb 4, 2024
@terrakok
Copy link
Collaborator

terrakok commented Feb 5, 2024

try a workaround: set the Kotlin version to 1.9.22

@igordmn igordmn added the p:high High priority label Feb 5, 2024
@arkivanov
Copy link
Contributor Author

Updating Kotlin to 1.9.22 fixes the issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p:high High priority
Projects
None yet
Development

No branches or pull requests

4 participants