-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
checker: turn option_var.str()
an error without unwrapping first
#23563
Conversation
Connected to Huly®: V_0.6-21991 |
option_var.str()
option_var.str()
without unwrapping first
option_var.str()
without unwrapping firstoption_var.str()
an error without unwrapping first
I assumed this would work and give |
Since we can't do |
I think we can have this exception as |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work.
Thank you for making the compiler stricter and more predictable 🙇🏻♂️ .
Fix #23558
Fix #23557