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] The display of different expressions for the function inlay hint is inconsistent #1717

Closed
Peefy opened this issue Oct 25, 2024 · 0 comments · Fixed by #1722
Closed
Assignees
Labels
good first issue Good for newcomers lsp semantic Issues or PRs related to kcl semantic and checker

Comments

@Peefy
Copy link
Contributor

Peefy commented Oct 25, 2024

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

a = "".find("asad", 0, -1)
b = "".find("asad", 0, 1)
c = "".find("asad", 0, 1 + 1)

2. What did you expect to see? (Required)

Consistent function inlayhint display

3. What did you see instead (Required)

image

4. What is your KCL components version? (Required)

v0.10.6

@Peefy Peefy added bug Something isn't working good first issue Good for newcomers labels Oct 25, 2024
@Peefy Peefy added this to the v0.11.0 Release milestone Oct 25, 2024
@Peefy Peefy added semantic Issues or PRs related to kcl semantic and checker lsp labels Oct 25, 2024
@Peefy Peefy changed the title [Bug] The display of numeric literals for the function inlay hint is inconsistent [Bug] The display of different expressions for the function inlay hint is inconsistent Oct 25, 2024
@Peefy Peefy removed the bug Something isn't working label Oct 25, 2024
@He1pa He1pa mentioned this issue Oct 28, 2024
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers lsp semantic Issues or PRs related to kcl semantic and checker
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants