Skip to content

Support equality comparison for optional to non-optional (?T ==/!= T) #5390

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
wants to merge 17 commits into from

Conversation

foobles
Copy link
Contributor

@foobles foobles commented May 20, 2020

This closes #1332, except for the case of comparing vectors. Unlike my previous attempt, it doesn't require any new pass-2 IR instructions.

Copy link
Member

@andrewrk andrewrk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really nice work @theInkSquid!

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 equality operator (== and !=) for ?T and T when equality operator is supported for T and T
2 participants