Anup Khanal
03/30/2023, 8:00 AMe: org.jetbrains.kotlin.util.KotlinFrontEndException: Exception while analyzing expression in (70,13) in
Attachments:
causeThrowable
java.lang.AssertionError: deserialized class MutableCollection and Lazy Java class java.util.Collection should have same number of type parameters, but 1 / 0 found
at org.jetbrains.kotlin.builtins.jvm.MappingUtilKt.createMappedTypeParametersSubstitution(mappingUtil.kt:14)
at org.jetbrains.kotlin.load.java.lazy.descriptors.LazyJavaClassDescriptor$LazyJavaClassTypeConstructor.computeSupertypes(LazyJavaClassDescriptor.kt:238)
Way down below in the stack trace I see something like this:
----
expression.kt
add(viewRootOne)
at org.jetbrains.kotlin.types.expressions.ExpressionTypingVisitorDispatcher.logOrThrowException(ExpressionTypingVisitorDispatcher.java:261)
The line of code being referenced is just an addition to a mutable list.
Any help would be appreciated. Thanks!