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

! operator and == true / false #13

Closed
hakunin opened this issue Oct 18, 2010 · 2 comments
Closed

! operator and == true / false #13

hakunin opened this issue Oct 18, 2010 · 2 comments

Comments

@hakunin
Copy link

@hakunin hakunin commented Oct 18, 2010

Right now there is no language support for

if !condition

and

if condition == false

@consiliens
Copy link
Contributor

@consiliens consiliens commented Aug 26, 2011

"Comment 1 by rogerpack2005, May 30, 2011
these work now, except for this line:

if a == false

=>

Mirah::InternalCompilerError: Cannot find instance method ==(boolean) on boolean"
http://code.google.com/p/mirah/issues/detail?id=7

@baroquebobcat
Copy link
Member

@baroquebobcat baroquebobcat commented Jan 8, 2012

Verified that ! works & true == false does not.

the error I got was Cannot find instance method ==(boolean) on boolean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.