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

Support comparisons between boolean literals using operators like ==, != #334

Open
sychoo opened this issue Jun 26, 2019 · 0 comments
Open

Comments

@sychoo
Copy link
Contributor

sychoo commented Jun 26, 2019

It would be nice if we can support comparison between boolean literals like the ones below:

true == true
-> true

false == true
-> false

false != true
-> true

(1 > 2) == !(1 > 2)
-> false

sychoo added a commit to sychoo/wyvern that referenced this issue Jul 12, 2019
JonathanAldrich added a commit that referenced this issue Sep 17, 2019
Resolved issue #334, added boolean comparison operator == and !=, added test cases.
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

No branches or pull requests

1 participant