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

Improve default value type inference #5

Open
LukasKalbertodt opened this issue Oct 21, 2022 · 0 comments
Open

Improve default value type inference #5

LukasKalbertodt opened this issue Oct 21, 2022 · 0 comments

Comments

@LukasKalbertodt
Copy link
Owner

This library has to do some type inference to find out the exact type of integer and float literals. I think it works totally fine for a majority of real world cases, but we can always do better. However, I don't want to make the type inference algorithm too complex as users can also simply add a type suffix, e.g. 27u8.

  • Box<[T]>
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

1 participant