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

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

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