kcl-lang / kcl-go

KCL Go SDK
https://pkg.go.dev/kcl-lang.io/kcl-go@main
Apache License 2.0
52 stars 26 forks source link

remove redundant type assertions #312

Closed XiaoK29 closed 5 months ago

XiaoK29 commented 5 months 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):

pkg/native/client_test.go pkg/parser/parser.go pkg/settings/utils_settings_yaml.go pkg/tools/format/kformat.go

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 5 months ago

Pull Request Test Coverage Report for Build 9218125442

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/tools/format/kformat.go 2 4 50.0%
<!-- Total: 4 6 66.67% -->
Totals Coverage Status
Change from base Build 9170436795: 0.0%
Covered Lines: 3343
Relevant Lines: 5361

💛 - Coveralls