diff src/luan/modules/Table.luan @ 1267:9fa8b8389578

add LuanTable.luan; support metatable __gc(); add luan.sql;
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 12 Nov 2018 02:10:41 -0700
parents 81d3a01fbd09
children 8d95711f6615
line wrap: on
line diff
--- a/src/luan/modules/Table.luan	Sun Sep 30 19:10:48 2018 -0600
+++ b/src/luan/modules/Table.luan	Mon Nov 12 02:10:41 2018 -0700
@@ -20,8 +20,7 @@
 local error = Luan.error
 local type = Luan.type or error()
 local pairs = Luan.pairs or error()
-local LuanJava = require "java:luan.Luan"
-local toTable = LuanJava.toTable or error()
+local toTable = TableLuan.toTable or error()
 
 function Table.java_to_table_shallow(obj)
 	local rtn = toTable(obj)