Mercurial Hosting > luan
diff core/src/luan/impl/EqExpr.java @ 443:bf5e62a9090c
remove toBoolean() and to_boolean()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 04 May 2015 14:55:51 -0600 |
parents | 23a93c118042 |
children | b48cfa14ba60 |
line wrap: on
line diff
--- a/core/src/luan/impl/EqExpr.java Mon May 04 13:49:12 2015 -0600 +++ b/core/src/luan/impl/EqExpr.java Mon May 04 14:55:51 2015 -0600 @@ -47,7 +47,7 @@ return false; LuanBit bit = luan.bit(se); LuanFunction fn = bit.checkFunction(f); - return Luan.toBoolean( Luan.first(bit.call(fn,"__eq",new Object[]{o1,o2})) ); + return bit.checkBoolean( Luan.first(bit.call(fn,"__eq",new Object[]{o1,o2})) ); } @Override public String toString() {