https://kotlinlang.org logo
#announcements
Title
# announcements
y

yawkat

10/06/2019, 10:08 AM
Is this a known bug? https://javap.yawk.at/#DK2APB/procyon - the constructor call to
LocalSubType
is missing the capture parameter
a

Alexey Belkov [JB]

10/07/2019, 9:51 AM
Hi, it's a little unclear to me, can you please explain in more detail what problem do you see with this code?
y

yawkat

10/07/2019, 10:03 AM
See in the decompiled code, there's a call
new LocalSubType(localParam);
. But that constructor does not exist, it's missing the $captured_local_variable$0 parameter
it leads to a NoSuchMethodError when running it
a

Alexey Belkov [JB]

10/07/2019, 12:20 PM
Thank you, reproduced. This is https://youtrack.jetbrains.com/issue/KT-8120, please vote.
y

yawkat

10/07/2019, 12:35 PM
thanks!