I’m seeing these errors emitted and failing compil...
# eap
z
I’m seeing these errors emitted and failing compilations when using Compose Compiler
1.4.0-dev-k1.8.0-RC-4c1865595ed
(from here) and Kotlin 1.8.0-RC, but I’m not sure where to start in diagnosing them or which issue tracker to report it on. No other context given in the compilation either
Copy code
e: Source file or directory not found: plugin:androidx.compose.compiler.plugins.kotlin:sourceInformation=true
e: Source file or directory not found: plugin:androidx.compose.compiler.plugins.kotlin:liveLiterals=true
A couple possibly related issues around generic type inference
This appears to be a regression that it can no longer infer
BuilderInference appears to miss the inferred type in `rxFlowable`’s
ProducerScope
I can file bugs for these and try to whittle them down to smaller repros, just looking for guidance on if they should be separate or all part of the same issue
a
Compose related issue is an known issue: https://youtrack.jetbrains.com/issue/KT-55363. Fix will be shipped with 1.8.0-RC2
z
Is
1.8.0-RC2-321
in kotlin-dev? If so I can test against that
a
Is
1.8.0-RC2-321
in kotlin-dev?
No, but you can test against
1.8.0-RC2-330
. It is there
Regarding the other issues I’d recommend to file issues so the compiler team could take a look
Maybe @udalov could help to figure out if they are about the same problem?
u
-> @mglukhikh
z
Confirmed the compose issue is fixed in
1.8.0-RC2-330
. The others above still exist though
m
I can file bugs for these and try to whittle them down to smaller repros, just looking for guidance on if they should be separate or all part of the same issue
@Zac Sweers I'd say two issues should be filed: • the first one about false-positive warning in IDE (or compiler, we will look at it) • ... and the second one based on one of cases here in thread (we think they are more or less the same problem). About all these problems, it makes sense to check are they reproducible in compiler (not just in IDE highlighting).
z
sorry for the crossed wires, the other two issues in this thread were meant for this one https://kotlinlang.slack.com/archives/C0KLZSCHF/p1671178171727429?thread_ts=1671144723.659789&cid=C0KLZSCHF De-duping over to there!