comparison src/luan/modules/TableLuan.java @ 1166:7ef40e1923b7

add back Thread.global allow metatables to have metatables
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 08 Feb 2018 02:22:51 -0700
parents ad6b3b9fef40
children 9fa8b8389578
comparison
equal deleted inserted replaced
1165:668f29bc52ea 1166:7ef40e1923b7
54 final LessThan lt; 54 final LessThan lt;
55 if( comp==null ) { 55 if( comp==null ) {
56 lt = new LessThan() { 56 lt = new LessThan() {
57 public boolean isLessThan(Object o1,Object o2) { 57 public boolean isLessThan(Object o1,Object o2) {
58 try { 58 try {
59 return Luan.isLessThan(luan,o1,o2); 59 return luan.isLessThan(o1,o2);
60 } catch(LuanException e) { 60 } catch(LuanException e) {
61 throw new LuanRuntimeException(e); 61 throw new LuanRuntimeException(e);
62 } 62 }
63 } 63 }
64 }; 64 };