Fixed metatag processing for equality.

This commit is contained in:
Enyby
2018-09-16 15:30:41 +03:00
committed by GitHub
parent f164c1cd28
commit 4f410fba6e

View File

@@ -2045,7 +2045,7 @@ public class LuaValue extends Varargs {
* @see #eqmtcall(LuaValue, LuaValue, LuaValue, LuaValue)
* @see #EQ
*/
public LuaValue eq( LuaValue val ) { return this == val? TRUE: FALSE; }
public LuaValue eq( LuaValue val ) { return eq_b(val)? TRUE: FALSE; }
/** Equals: Perform equality comparison with another value
* including metatag processing using {@link #EQ},