Mercurial Hosting > luan
diff src/luan/Luan.java @ 1164:1f9d34a6f308
remove assertions
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 07 Feb 2018 17:36:38 -0700 |
parents | 22652f4020fb |
children | 7ef40e1923b7 |
line wrap: on
line diff
--- a/src/luan/Luan.java Tue Feb 06 22:04:47 2018 -0700 +++ b/src/luan/Luan.java Wed Feb 07 17:36:38 2018 -0700 @@ -8,6 +8,7 @@ import java.util.Arrays; import java.util.Iterator; import luan.modules.BasicLuan; +import luan.modules.Utils; import luan.impl.LuanCompiler; @@ -223,6 +224,11 @@ } } + public static LuanTable table(LuanTable v) throws LuanException { + Utils.checkNotNull(v); + return v; + } + private Luan() {} // never }