You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
[A, B, C, D]
Uncaught exception from Kotlin's main: kotlin.RuntimeException: Unexpected receiver type: kotlin.collections.ArrayList
at kfun:kotlin.Exception.<init>(kotlin.String?)kotlin.Exception (0x405626)
at kfun:kotlin.RuntimeException.<init>(kotlin.String?)kotlin.RuntimeException (0x405546)
at kfun:konan.internal.ThrowInvalidReceiverTypeException(kotlin.reflect.KClass<#STAR>)kotlin.Nothing (0x404539)
at kfun:test(Wrapper) (0x4228cc)
at kfun:main(kotlin.Array<kotlin.String>) (0x403d81)
at EntryPointSelector (0x403d16)
at Konan_start (0x403c87)
at Konan_run_start (0x403c02)
at Konan_main (0x403b77)
at __libc_start_main (0x7f66780d6003)
at (0x403a0a)
at ((nil))
Merging any of these into a single module fixes the issue as well as disabling devirtualization on the second module.
When declaring a class holding a collection
and declaring a function that calls
.map
on that collection in another moduleand then in turn calling this function from yet another module
the resulting program crashes with:
Merging any of these into a single module fixes the issue as well as disabling devirtualization on the second module.
Archive which reproduces the issue:
konan-bug.tar.gz
Tested with ba30936.
The text was updated successfully, but these errors were encountered: