https://kotlinlang.org logo
i

ILakeful

08/26/2019, 9:23 PM
Just tried the evaluation via "kotlin-scripting-jsr223" (1.3.50) and found out that trying to call a binding named e.g. "example" from within a coroutine (I presume it's about everything accepting a suspending lambda) throws NoSuchMethodError with a message like:
Copy code
Exception in thread "..." java.lang.NoSuchMethodError: Line_1.access$getExample$p(LLine_1;)Ljava/lang/String;
i

ilya.chernikov

08/27/2019, 1:54 PM
I have no immediate answer about it. Could you, please file an issue on youtrack?
i

ILakeful

08/27/2019, 10:16 PM
In fact, I found a very similar issue there: https://youtrack.jetbrains.com/issue/KT-33517
i

ilya.chernikov

08/29/2019, 8:58 AM
Ok, thanks, I’ll have a look.
2 Views