1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00
anselme/test/tests/merge nested mutable bis.lua

21 lines
No EOL
359 B
Lua

local _={}
_[8]={}
_[7]={}
_[6]={text="[1, [2, 3, 4]]",tags=_[8]}
_[5]={text="[1,[2,3,4]]: ",tags=_[7]}
_[4]={_[5],_[6]}
_[3]={"return"}
_[2]={"text",_[4]}
_[1]={"return"}
return {_[1],_[2],_[3]}
--[[
{ "return" }
{ "text", { {
tags = {},
text = "[1,[2,3,4] ]: "
}, {
tags = {},
text = "[1, [2, 3, 4] ]"
} } }
{ "return" }
]]--