I have an issue in my custom script implementation...
# scripting
e
I have an issue in my custom script implementation with
importScripts
in kotlin 2.3.21. It could be, that it has something to do with K2. I debugged the issue and found a different behavior between 2.3.10 and 2.3.21: In 2.3.10 the code runs ScriptJvmCompilerImpls. The source files were sorted. In 2.3.21 the code runs ScriptJvmK2CompilerImpl. Here nothing get sorted and the imported script files get explicitly added after the original source file. This way the type resolution doesn't work anymore as before. Is this a known issue? I couldn't find it in youtrack yet.
Stacktrace:
i
Thanks for the issue with the repro! I'll have a look.