Skip to content

Introduce ghost equality (===) and inequality (!==)#514

Merged
jcp19 merged 3 commits intomasterfrom
introduce-ghost-equality
Aug 31, 2022
Merged

Introduce ghost equality (===) and inequality (!==)#514
jcp19 merged 3 commits intomasterfrom
introduce-ghost-equality

Conversation

@jcp19
Copy link
Contributor

@jcp19 jcp19 commented Aug 30, 2022

This PR introduces support for the operators === and !== which can be used in ghost contexts to perform comparisons between slices and between non-comparable interfaces.

The big size of this PR is due to the changes in the parser.

@jcp19 jcp19 requested a review from Felalolf August 30, 2022 20:21
@Aurel300
Copy link
Member

Interesting syntax you've got there 👀

Copy link
Contributor

@Felalolf Felalolf left a comment

Choose a reason for hiding this comment

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

One question maybe needs to be addressed.

@jcp19 jcp19 merged commit 693b2f0 into master Aug 31, 2022
@jcp19 jcp19 deleted the introduce-ghost-equality branch August 31, 2022 10:46
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.

3 participants