eris: genlt now can compare any two objects, but it returns 'equal' for nonsortable types
This commit is contained in:
@@ -329,7 +329,7 @@ LUA_API int lua_genlt (lua_State *L, int index1, int index2) {
|
||||
} else if (t1 == LUA_TBOOLEAN) {
|
||||
i = bvalue(o1) < bvalue(o2);
|
||||
} else {
|
||||
luaG_ordererror(L, o1, o2);
|
||||
return 0;
|
||||
}
|
||||
lua_unlock(L);
|
||||
return i;
|
||||
|
||||
Reference in New Issue
Block a user