kcl-lang / kcl

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

fix `handle_semantic_tokens_full` and `handle_document_symbol` panic #1370

Closed He1pa closed 1 month ago

He1pa commented 1 month ago

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

2. What is the scope of this PR (e.g. component or file name):

kclvm/tools/src/LSP/src/request.rs

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 9262870052

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/tools/src/LSP/src/request.rs 3 10 30.0%
<!-- Total: 3 10 30.0% -->
Totals Coverage Status
Change from base Build 9261110061: -0.003%
Covered Lines: 54060
Relevant Lines: 76043

💛 - Coveralls