Upgraded to newest Android Studio 4.1 Beta, 1.4-rc...
# random
c
Upgraded to newest Android Studio 4.1 Beta, 1.4-rc for kotlin and now I get these errors. Am I missing something?
w
What do you see if you try to navigate to declaration of
viewModels
? Does it say there are no declarations, or it finds multiple?
c
It navigates to:
androidx/fragment/app/FragmentViewModelLazy.kt
or/also
/Users/coltonidle/.gradle/caches/modules-2/files-2.1/androidx.fragment/fragment-ktx/1.3.0-alpha07/9ca1c1fbde6405ea552f280beb70c5ef6c4a1a86/fragment-ktx-1.3.0-alpha07-sources.jar!/androidx/fragment/app/FragmentViewModelLazy.kt
w
Yep, I’ve been experiencing it for some time already, but mostly in tests sources. The issue is that IDE gets confused by top-level functions. Let me see if I can find an issue for this, I think i reported it at some point
Actually I see the error message is different 🤔 but it seems like very similar thing, my “conflicting declarations” are also
inline fun <reified...
c
Hm. Seems similar. I'll star the issue. I'll keep trying to see if there's something else I can do.
w
I don’t have hopes up, I submitted the issue almost 3 months ago 😞