mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
68 lines
No EOL
1.5 KiB
Lua
68 lines
No EOL
1.5 KiB
Lua
local _={}
|
|
_[27]={}
|
|
_[26]={}
|
|
_[25]={}
|
|
_[24]={}
|
|
_[23]={}
|
|
_[22]={tags=_[27],text="[1, 2, 3, 4]"}
|
|
_[21]={tags=_[27],text="1,2,3,4: "}
|
|
_[20]={tags=_[26],text="[1, 2, 3, 4, 5]"}
|
|
_[19]={tags=_[26],text="1,2,3,4,5: "}
|
|
_[18]={tags=_[25],text="[1, 2, 3, 4]"}
|
|
_[17]={tags=_[25],text="1,2,3,4: "}
|
|
_[16]={tags=_[24],text="[1, 2, 3]"}
|
|
_[15]={tags=_[24],text="1,2,3: "}
|
|
_[14]={tags=_[23],text="[1, 2]"}
|
|
_[13]={tags=_[23],text="1,2: "}
|
|
_[12]={_[21],_[22]}
|
|
_[11]={_[19],_[20]}
|
|
_[10]={_[17],_[18]}
|
|
_[9]={_[15],_[16]}
|
|
_[8]={_[13],_[14]}
|
|
_[7]={"return"}
|
|
_[6]={"text",_[12]}
|
|
_[5]={"error","cancel merge; in Lua function \"error\"; at test/tests/checkpoint merging mutable value.ans:23"}
|
|
_[4]={"text",_[11]}
|
|
_[3]={"text",_[10]}
|
|
_[2]={"text",_[9]}
|
|
_[1]={"text",_[8]}
|
|
return {_[1],_[2],_[3],_[4],_[5],_[6],_[7]}
|
|
--[[
|
|
{ "text", { {
|
|
tags = <1>{},
|
|
text = "1,2: "
|
|
}, {
|
|
tags = <table 1>,
|
|
text = "[1, 2]"
|
|
} } }
|
|
{ "text", { {
|
|
tags = <1>{},
|
|
text = "1,2,3: "
|
|
}, {
|
|
tags = <table 1>,
|
|
text = "[1, 2, 3]"
|
|
} } }
|
|
{ "text", { {
|
|
tags = <1>{},
|
|
text = "1,2,3,4: "
|
|
}, {
|
|
tags = <table 1>,
|
|
text = "[1, 2, 3, 4]"
|
|
} } }
|
|
{ "text", { {
|
|
tags = <1>{},
|
|
text = "1,2,3,4,5: "
|
|
}, {
|
|
tags = <table 1>,
|
|
text = "[1, 2, 3, 4, 5]"
|
|
} } }
|
|
{ "error", 'cancel merge; in Lua function "error"; at test/tests/checkpoint merging mutable value.ans:23' }
|
|
{ "text", { {
|
|
tags = <1>{},
|
|
text = "1,2,3,4: "
|
|
}, {
|
|
tags = <table 1>,
|
|
text = "[1, 2, 3, 4]"
|
|
} } }
|
|
{ "return" }
|
|
]]-- |