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

[Bug] Wrong Definition and Completion items in the schema config for the left attribute and right value. #1446

Open
Peefy opened this issue Jun 27, 2024 · 0 comments
Assignees
Labels
bug Something isn't working lsp semantic Issues or PRs related to kcl semantic and checker

Comments

@Peefy
Copy link
Contributor

Peefy commented Jun 27, 2024

  • Wrong definition
schema Config:
    env: str
    name: str

env = "prod"

c = Config{
    env: env # Wrong definition for the right `env`
}
  • Wrong completion items (unexpected name)

image

@Peefy Peefy added semantic Issues or PRs related to kcl semantic and checker lsp labels Jun 27, 2024
@Peefy Peefy added this to the v0.9.0 Release milestone Jun 27, 2024
@Peefy Peefy added the bug Something isn't working label Jun 27, 2024
@Peefy Peefy modified the milestones: v0.9.0 Release, v0.10.0 Release Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lsp semantic Issues or PRs related to kcl semantic and checker
Projects
None yet
Development

No branches or pull requests

2 participants