Closed Peefy closed 3 months ago
@Peefy Can I work on this issue?
@Peefy I tried kcl test after building kcl but none of the subcommands with kcl are currently working. I am currently on MacOS 14.5. The only subcommands that I am being shown are run, server, version and help.
Even the make doesn't show any errors.
Below is my zshrc file which has set kcl as alias for kclvm_cli.
Moreover, even testing package cannot be imported.
Any idea why I can't see any subcommands or I cannot import testing? Have I not installed something? Thanks for the help.
Hello @Wck-iipi.
You can install full KCL CLI from https://github.com/kcl-lang/cli and prevent alias kcl
@Peefy, But it cannot still find testing.
@Wck-iipi
The content I wrote in the issue is the expected functionality rather than the existing functionality.
@Peefy Thanks for responding. Could you tell me where I have to write this catch_err
code at? Would it be at /tools/src/testing? I am a little confused with the implementation.
Also, when I finally create the catch_err
function, how would user use that function?
I think that we need to achieve two things here.
Furthermore, this is not a simple function that requires a design solution first and then implementation.
@Peefy Could you give me some references that would tell me more about this(like some PR where you have created/modified compiler runtime plugin or testing system module)? Because upon searching import testing
, I came across some examples like this, which is useful, but I would like if you could guide me more. Thanks.
You can try impl runtime panic recovery like go and rust. 😃
For exampla