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

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

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

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