diff core/src/luan/impl/LenExpr.java @ 572:f1601a4ce1aa

fix stack when calling meta-methods
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 12 Jul 2015 21:34:23 -0600
parents b48cfa14ba60
children 7c3ad6db8ac3
line wrap: on
line diff
--- a/core/src/luan/impl/LenExpr.java	Wed Jul 08 23:10:52 2015 -0600
+++ b/core/src/luan/impl/LenExpr.java	Sun Jul 12 21:34:23 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(luan);
+		return t.length(bit);
 	}
 }