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

v: allow option array element comparison == and != #23113

Merged
merged 2 commits into from
Dec 9, 2024

Conversation

felipensp
Copy link
Member

@felipensp felipensp commented Dec 9, 2024

@spytheman spytheman marked this pull request as ready for review December 9, 2024 18:33
@spytheman spytheman merged commit bc7a844 into vlang:master Dec 9, 2024
72 checks passed
@spytheman
Copy link
Member

I've merged it without the additional tests for now, since I do not want to wait for their CI, before making a release, but I really do think that the tests should be added.

There were times in the past already, where the implementation for the options and generics types had hysteresis, and things that normally worked in isolation, broke when used in the same function due to that.

@felipensp felipensp deleted the fix_option_indexexpr_eq branch December 9, 2024 18:40
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

Successfully merging this pull request may close these issues.

allow "unwrapped Option cannot be used in an infix expression"
2 participants