comparison core/src/luan/impl/FnDef.java @ 195:24ede40ee0aa

make MetatableGetter DeepCloneable, scoped, and secure git-svn-id: https://luan-java.googlecode.com/svn/trunk@196 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Thu, 03 Jul 2014 08:19:48 +0000
parents 3dcb0f9bee82
children 5ba136769034
comparison
equal deleted inserted replaced
194:08df375e2e5f 195:24ede40ee0aa
34 fixReturns( is.elseStmt ); 34 fixReturns( is.elseStmt );
35 } 35 }
36 } 36 }
37 37
38 @Override public Object eval(LuanStateImpl luan) throws LuanException { 38 @Override public Object eval(LuanStateImpl luan) throws LuanException {
39 return new Closure(luan,this); 39 return new Closure(luan,this,luan.mtGetterLink());
40 } 40 }
41 41
42 } 42 }