Mercurial Hosting > luan
diff core/src/luan/impl/Closure.java @ 664:71f8f5075df8
compile FnDef
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 07 Apr 2016 15:11:52 -0600 |
parents | b438a47196bc |
children | 08966099aa6d |
line wrap: on
line diff
--- a/core/src/luan/impl/Closure.java Thu Apr 07 00:01:10 2016 -0600 +++ b/core/src/luan/impl/Closure.java Thu Apr 07 15:11:52 2016 -0600 @@ -57,7 +57,7 @@ } Object returnValues; try { - return fnDef.block.eval(luan); + return fnDef.run(luan); } catch(StackOverflowError e) { throw new LuanException( "stack overflow", e ); } finally {