themarketka
06/27/2021, 7:08 PMdata class MapObjects(
val map: com.google.android.gms.maps.GoogleMap,
val markerManager: com.google.maps.android.collections.MarkerManager,
val markerCollection: com.google.maps.android.collections.MarkerManager.Collection,
)
The MarkerCollection.Collection
is a Java nested/inner class, not a static one.
After the update to Kotlin 1.5.20 (keeping runtime dependencies on 1.5.0), it compiles, but IDE complains about code like this:
val mapObjs: MapObjects = mapObjects // lateinit var access
mapObjs.markerCollection.clear()
Basically anything accessing the markerCollection
shows Internal Error occurred while analyzing this expression
. I reported it from within IDE already.
Funny detail though: when I update runtime dependency to 1.5.20, it outright crashes while compiling: org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during file facade code generation
. Based on that I do not believe it’s related to Android Studio in particular.
Please send help, and if I should, include where/how do I file this in the Kotlin’s issue tracker at https://youtrack.jetbrains.com/issues/KT.rnett
06/28/2021, 3:34 AMthemarketka
06/28/2021, 4:02 PMthemarketka
06/29/2021, 7:43 PMthemarketka
07/14/2021, 10:21 AM