kscript icon indicating copy to clipboard operation
kscript copied to clipboard

Kscript 4.1

Open aartiPl opened this issue 3 years ago • 3 comments

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.

aartiPl avatar May 18 '22 17:05 aartiPl

Sure, done. Thanks for your great initiative here!

holgerbrandl avatar May 18 '22 18:05 holgerbrandl

@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 avatar Jun 24 '22 17:06 wuseal

@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 :-)

aartiPl avatar Jul 01 '22 16:07 aartiPl