summaryrefslogtreecommitdiff
path: root/server/test/definition/arg.lua
blob: 9dc91f2d98467d6f94bc16e36a8988891461a9af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
TEST [[
local function xx (<!xx!>)
    <?xx?>()
end
]]

TEST [[
local function x (x, <!...!>)
    x = <?...?>
end
]]

TEST [[
local <!mt!>
function mt:x()
    <?self?>()
end
]]

TEST [[
function mt:x(<!self!>)
    <?self?>()
end
]]