diff src/luan/modules/Rpc.luan @ 1280:781ec0a92bb5

add Boot.luan
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 20 Dec 2018 13:38:16 -0700
parents 198d6af7330a
children 8d95711f6615
line wrap: on
line diff
--- a/src/luan/modules/Rpc.luan	Tue Dec 18 12:54:55 2018 -0700
+++ b/src/luan/modules/Rpc.luan	Thu Dec 20 13:38:16 2018 -0700
@@ -19,6 +19,7 @@
 local try = Luan.try or error()
 local ipairs = Luan.ipairs or error()
 local type = Luan.type or error()
+local Boot = require "luan:Boot.luan"
 local Io = require "luan:Io.luan"
 local Thread = require "luan:Thread.luan"
 local Table = require "luan:Table.luan"
@@ -62,7 +63,7 @@
 		if type == "binary" then
 			list[i_in] = JavaUtils.readAll(binary_in)
 		elseif type == "input" then
-			list[i_in] = IoLuan.LuanInput.new(binary_in).table()
+			list[i_in] = Boot.new_LuanIn( IoLuan.LuanInput.new(binary_in) )
 		else
 			error(type)
 		end