Closed kpcyrd closed 5 months ago
given this lua code:
foo({ abc="def", ghi={ x=2 } })
and the following handler:
lua.set("foo", hlua::function1(move |body: HashMap<_, _>| -> () { println!("body: {:?}", body); }))
I get this result:
body: {LuaString("abc"): LuaString("def"), LuaString("ghi"): LuaOther}
This should be LuaArray(Vec<(AnyLuaValue, AnyLuaValue)>) instead of LuaOther. What do you think?
LuaArray(Vec<(AnyLuaValue, AnyLuaValue)>)
This was fixed on master, probably in #177. Please consider releasing 0.4.2! :)
given this lua code:
and the following handler:
I get this result:
This should be
LuaArray(Vec<(AnyLuaValue, AnyLuaValue)>)
instead of LuaOther. What do you think?