Kscript 4.1
Draft PR - there is still more to do.
@holgerbrandl - Can you please release a patched version of kscript 4.0? That way users can still use version 4, while work on 4.1 can be continued.
Sure, done. Thanks for your great initiative here!
@aartiPl Hi bro. Very appreciate that you bring so many improvements and bug fixes.
There is a problem about debug or exception stack trace that the code line number is incorrect when use include annotation
I'd like to check if it will be resolved in 4.1
@wuseal - Unfortunately, current changes won't help. The problem is that compilation happens on a single script consolidated from many smaller scripts. Therefore it is not possible to report correct line numbers for specific scripts. Maybe a better approach would be to provide separate scripts for compilation, the compiler will be able to provide exact line numbers of problems in the code. It is doable but requires considerable rework of the KScript. I will consider it for later :-)