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

Comments

Projects
None yet
3 participants
@hakunin

hakunin commented Oct 18, 2010

Right now there is no language support for

if !condition

and

if condition == false

@consiliens

This comment has been minimized.

Show comment
Hide comment
@consiliens

consiliens Aug 26, 2011

Contributor

"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

Contributor

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

This comment has been minimized.

Show comment
Hide comment
@baroquebobcat

baroquebobcat Jan 8, 2012

Member

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

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

Member

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