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

Show the inferred concrete type for a generic function call #136

Open
integraledelebesgue opened this issue Jan 7, 2025 · 0 comments · May be fixed by #577
Open

Show the inferred concrete type for a generic function call #136

integraledelebesgue opened this issue Jan 7, 2025 · 0 comments · May be fixed by #577
Assignees

Comments

@integraledelebesgue
Copy link
Member

Rust Analyzer has a nice feature: when we call a generic function without specifying the concrete type explicitly (i.e., it is inferred by the compiler), the hover for that call shows what type has been inferred:
Image

We can introduce something similar in the future.

@integraledelebesgue integraledelebesgue converted this from a draft issue Jan 7, 2025
@Arcticae Arcticae moved this from Triage to Backlog in Cairo Language Services Jan 8, 2025
@mkaput mkaput moved this from Backlog LS to Idea aka Deep Backlog in Cairo Language Services Mar 13, 2025
@Draggu Draggu self-assigned this Apr 8, 2025
@Draggu Draggu moved this from Sranie to Todo in Cairo Language Services Apr 8, 2025
@Draggu Draggu moved this from Todo to In Progress in Cairo Language Services Apr 8, 2025
Draggu added a commit that referenced this issue Apr 11, 2025
Draggu added a commit that referenced this issue Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

3 participants