diff core/src/luan/impl/LenExpr.java @ 575:7c3ad6db8ac3

make LuanState.JAVA private
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 13 Jul 2015 18:34:31 -0600
parents f1601a4ce1aa
children 4723d22062ce
line wrap: on
line diff
--- a/core/src/luan/impl/LenExpr.java	Mon Jul 13 12:31:53 2015 -0600
+++ b/core/src/luan/impl/LenExpr.java	Mon Jul 13 18:34:31 2015 -0600
@@ -28,6 +28,6 @@
 		if( !(o instanceof LuanTable) )
 			throw bit.exception( "attempt to get length of a " + Luan.type(o) + " value" );
 		LuanTable t = (LuanTable)o;
-		return t.length(bit);
+		return bit.length(t);
 	}
 }