Skip to content

Bug: Inconsistent error display between IDE and CLI, '__' is missing in CLI #776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
zong-zhe opened this issue Oct 17, 2023 · 1 comment · Fixed by #838
Closed

Bug: Inconsistent error display between IDE and CLI, '__' is missing in CLI #776

zong-zhe opened this issue Oct 17, 2023 · 1 comment · Fixed by #838
Assignees
Labels
bug Something isn't working error-handling Issues or PRs related to kcl error handling help wanted Extra attention is needed

Comments

@zong-zhe
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

The main.k:

a = __b

2. What did you expect to see? (Required)

name '__b' is not defined

3. What did you see instead (Required)

name 'b' is not defined

4. What is your KCL components version? (Required)

$ kcl --version
Version: 0.6.0-20ab3eb4b9179219d6837a57f5d35286
Platform: aarch64-apple-darwin
GitCommit: f3396ac7f9d2901dad28600844af39c082e25bd9
@zong-zhe zong-zhe added the bug Something isn't working label Oct 17, 2023
@zong-zhe zong-zhe added this to the v0.7.0 Release milestone Oct 17, 2023
@zong-zhe zong-zhe self-assigned this Oct 17, 2023
@Peefy Peefy added the error-handling Issues or PRs related to kcl error handling label Oct 17, 2023
@zong-zhe
Copy link
Contributor Author

This problem is caused by rust-lang/annotate-snippets-rs#53. At present, someone have proposed PR to fix this problem rust-lang/annotate-snippets-rs#54, but this PR has not been merged at present.

@zong-zhe zong-zhe added the help wanted Extra attention is needed label Oct 18, 2023
@zong-zhe zong-zhe changed the title Bug: Inconsistent error display between IDE and CLI Bug: Inconsistent error display between IDE and CLI, '__' is missing in CLI Oct 18, 2023
@Peefy Peefy closed this as completed in #838 Nov 3, 2023
@github-project-automation github-project-automation bot moved this to v0.7.0 Release Done in KCL 2023 Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working error-handling Issues or PRs related to kcl error handling help wanted Extra attention is needed
Projects
No open projects
Status: v0.7.0 Release Done
Development

Successfully merging a pull request may close this issue.

2 participants