compose-multiplatform
compose-multiplatform copied to clipboard
[1.6.0-beta01] Unresolved stdlib imports in IDEA when only jvm and wasmJs targets are enabled
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
try a workaround: set the Kotlin version to 1.9.22
Updating Kotlin to 1.9.22 fixes the issue. Thanks!
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.