mirror of
https://github.com/vxcontrol/golua.git
synced 2026-08-24 20:31:24 -04:00
20 lines
237 B
Lua
20 lines
237 B
Lua
-- The only point of this file is to generate an interesting stack trace
|
|
|
|
function call3(n)
|
|
if n == 3 then
|
|
error("Some error")
|
|
end
|
|
end
|
|
|
|
function call2()
|
|
for i = 1, 4, 1 do
|
|
call3(i)
|
|
end
|
|
end
|
|
|
|
function call1()
|
|
call2()
|
|
end
|
|
|
|
call1()
|