kcl-lang / kcl

KCL Programming Language (CNCF Sandbox Project). https://kcl-lang.io
https://kcl-lang.io
Apache License 2.0
1.61k stars 113 forks source link

refactor: code error message #1633

Closed Peefy closed 3 weeks ago

Peefy commented 3 weeks ago

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

coveralls commented 3 weeks ago

Pull Request Test Coverage Report for Build 10772369872

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
kclvm/runner/src/runner.rs 0 1 0.0%
kclvm/error/src/lib.rs 6 15 40.0%
kclvm/src/lib.rs 0 15 0.0%
<!-- Total: 6 31 19.35% -->
Files with Coverage Reduction New Missed Lines %
kclvm/tools/src/LSP/src/tests.rs 1 98.6%
kclvm/tools/src/LSP/src/inlay_hints.rs 3 92.31%
kclvm/tools/src/LSP/src/state.rs 12 82.57%
<!-- Total: 16 -->
Totals Coverage Status
Change from base Build 10770572353: -0.02%
Covered Lines: 51266
Relevant Lines: 72490

💛 - Coveralls