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

fix: fix schema dep cycle error. … #1634

Closed He1pa closed 3 weeks ago

He1pa commented 3 weeks ago

Determine whether there is a cycle depdence from the current node

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/sema/src/resolver/global.rs kclvm/sema/src/resolver/import.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 3 weeks ago

Pull Request Test Coverage Report for Build 10772427113

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
kclvm/sema/src/core/symbol.rs 0 1 0.0%
kclvm/sema/src/resolver/import.rs 5 6 83.33%
kclvm/sema/src/ty/context.rs 8 9 88.89%
<!-- Total: 17 20 85.0% -->
Files with Coverage Reduction New Missed Lines %
kclvm/tools/src/LSP/src/tests.rs 1 98.6%
kclvm/tools/src/LSP/src/state.rs 12 82.57%
<!-- Total: 13 -->
Totals Coverage Status
Change from base Build 10770572353: -0.02%
Covered Lines: 51257
Relevant Lines: 72476

💛 - Coveralls