-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix: panic when using float numbers without dots in chain calls #16770
Conversation
Thanks! |
fix: panic when using float numbers without dots in chain calls Fix #16278. This PR fixes the panic caused by using floating-point numbers without a dot (such as `1e2`) in chain calls. ------------- Although this syntax is very odd 🤣, r-a should not panic.
💔 Test failed - checks-actions |
Heh I think we had a fmt test in the rust-analyzer crate before but I lifted it into CI if I am not mistaken so that we get annotations in the PR code. You could also look into setting up a git commit hook for yourself. (I don't like them as they slow down the commit command) |
@bors r+ |
☀️ Test successful - checks-actions |
Fix #16278.
This PR fixes the panic caused by using floating-point numbers without a dot (such as
1e2
) in chain calls.Although this syntax is very odd 🤣, r-a should not panic.