! operator and == true / false #13

Closed
hakunin opened this Issue Oct 18, 2010 · 2 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
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

@baroquebobcat
Member

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