summaryrefslogtreecommitdiff
path: root/test/definition/arg.lua
blob: 623b70b7858c98703fa37a903f72d3aedac3e4aa (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 x (<!x!>)
    <?x?> = 1
end
]]

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

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

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