Mercurial Hosting > luan
diff core/src/luan/modules/TableLuan.java @ 443:bf5e62a9090c
remove toBoolean() and to_boolean()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 04 May 2015 14:55:51 -0600 |
parents | 93e6e67768d7 |
children | 22bfd8a2eaee |
line wrap: on
line diff
--- a/core/src/luan/modules/TableLuan.java Mon May 04 13:49:12 2015 -0600 +++ b/core/src/luan/modules/TableLuan.java Mon May 04 14:55:51 2015 -0600 @@ -66,7 +66,7 @@ lt = new LessThan() { public boolean isLessThan(Object o1,Object o2) { try { - return Luan.toBoolean(Luan.first(luan.call(comp,"comp-arg",new Object[]{o1,o2}))); + return luan.checkBoolean(Luan.first(luan.call(comp,"comp-arg",new Object[]{o1,o2}))); } catch(LuanException e) { throw new LuanRuntimeException(e); }