comparison core/src/luan/impl/SetTableEntry.java @ 646:cdc70de628b5

simplify LuanException
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 29 Mar 2016 19:58:39 -0600
parents 859c0dedc8b6
children
comparison
equal deleted inserted replaced
645:859c0dedc8b6 646:cdc70de628b5
28 return; 28 return;
29 } 29 }
30 if( t != null && luan.hasJava() ) 30 if( t != null && luan.hasJava() )
31 JavaLuan.__new_index(luan,t,key,value); 31 JavaLuan.__new_index(luan,t,key,value);
32 else 32 else
33 throw new LuanException(luan, "attempt to index a " + Luan.type(t) + " value" ); 33 throw new LuanException( "attempt to index a " + Luan.type(t) + " value" );
34 } 34 }
35 35
36 } 36 }