summaryrefslogtreecommitdiff
path: root/server/test/definition/bug.lua
blob: 7019e07935e096760d66ad66fe6eb33242d62aa9 (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
25
26
27
28
29
30
TEST [[
local <!x!>
function _(x)
end
function _()
    <?x?>()
end
]]

TEST [[
function _(<!x!>)
    do return end
    <?x?>()
end
]]

TEST [[
function <!a!>:b()
    a:b()
    <?self?>()
end
]]

TEST [[
function _(...)
    function _()
        print(<?...?>)
    end
end
]]