Skip to content
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

fix: fix ast and lsp filename in windows os #1301

Merged
merged 1 commit into from
May 10, 2024

Conversation

He1pa
Copy link
Contributor

@He1pa He1pa commented May 9, 2024

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/ast/src/ast.rs
kclvm/error/src/diagnostic.rs
kclvm/parser/src/lib.rs
kclvm/parser/src/parser/mod.rs
kclvm/tools/src/LSP/src/from_lsp.rs
kclvm/tools/src/util/loader.rs
kclvm/utils/src/path.rs

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

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Other

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

  • N
  • Y

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

  • Unit test
  • Integration test
  • Benchmark (add benchmark stats below)
  • Manual test (add detailed scripts or steps below)
  • Other

@He1pa He1pa added parser Issues or PRs related to kcl parser ast lsp labels May 9, 2024
Signed-off-by: he1pa <18012015693@163.com>
@coveralls
Copy link
Collaborator

coveralls commented May 9, 2024

Pull Request Test Coverage Report for Build 9016893742

Details

  • 59 of 59 (100.0%) changed or added relevant lines in 7 files are covered.
  • 9 unchanged lines in 4 files lost coverage.
  • Overall coverage increased (+0.02%) to 71.423%

Files with Coverage Reduction New Missed Lines %
kclvm/ast/src/token.rs 1 58.22%
kclvm/ast/src/ast.rs 1 83.51%
kclvm/sema/src/core/symbol.rs 3 46.73%
kclvm/config/src/settings.rs 4 78.26%
Totals Coverage Status
Change from base Build 9001904993: 0.02%
Covered Lines: 53311
Relevant Lines: 74641

💛 - Coveralls

Copy link
Contributor

@Peefy Peefy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good Job! LGTM!

@Peefy Peefy merged commit 46ce7e0 into kcl-lang:main May 10, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ast lsp parser Issues or PRs related to kcl parser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants