Using kotlin 2.0.0-beta1 and the compose compiler snapshot for it (
1.5.5-dev-k2.0.0-Beta1-06b8ae672a4
), i see lots of
Cannot access class 'androidx.compose.runtime.internal.ComposableFunction1'.
errors in builds. Seems to happen when setting
languageVersion = '1.9'
for a project.
✅ 1
s
shikasd
11/21/2023, 1:21 AM
Rather weird, I assume languageVersion=1.9 indicates that you want K1 frontend, but the error comes from types used in K2.
Please file a bug to the Google tracker.