[kotlin] KInvocationExprent
can't be cast to FieldExprent
#428
Labels
Priority: Medium
Medium priority
Subsystem: Plugins/Kotlin
Anything specifically concerning the Kotlin plugin
Subsystem: Writing
Anything concerning how expressions are written
Type: Bug
Something isn't working
Vineflower version
1.11.0+local (built from latest git commit)
Describe the bug
When decompiling the kotlin code
the error
is emitted
Additional information
The code I encountered this with was (with everything irrelevant removed):
however this is not an issue with extension functions, as it still has the same error with the following code:
the decompiled result of each of those, respectively, is as follows:
and
I believe the issue has something to do with the
starProjectedType
Attempting to decompile it with quiltflower produces the following result (respectively):
and
Interestingly, vineflower does not emit the
kotlin.jvm.internal.Reflection
orkotlin.reflect.KClassifier
imports, however it does emit thekotlin.reflect.full.KClassifiers
import.The text was updated successfully, but these errors were encountered: