Skip to content

hover literal integer fallback overflow i32 #12155

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

Closed
bitgaoshu opened this issue May 5, 2022 · 1 comment
Closed

hover literal integer fallback overflow i32 #12155

bitgaoshu opened this issue May 5, 2022 · 1 comment

Comments

@bitgaoshu
Copy link
Contributor

截屏2022-05-05 11 05 16

I think the hover literal is overflow i32. should show ${unknown}

@flodiebold
Copy link
Member

Whether the literal would fit into an i32 or not does not have any effect on its type, so this is correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants