diff core/src/luan/LuanTable.java @ 511:e3fb9768dbb3

better error messages
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 22 May 2015 10:47:56 -0600
parents 2da0bcb979b5
children 8e51d6071b67
line wrap: on
line diff
--- a/core/src/luan/LuanTable.java	Fri May 22 02:28:15 2015 -0600
+++ b/core/src/luan/LuanTable.java	Fri May 22 10:47:56 2015 -0600
@@ -135,7 +135,7 @@
 		if( obj instanceof byte[] )
 			return BinaryLuan.__index(bit,(byte[])obj,key);
 		if( obj != null && luan.hasJava() )
-			return JavaLuan.__index(bit,obj,key);
+			return JavaLuan.__index(bit,obj,key,false);
 		else if( bit.el==null )
 			throw bit.exception( "attempt to index a " + Luan.type(obj) + " value" );
 		else