blob: f3e2c584ba3b5af7abcb73a049230b5cdc088f4f (
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
31
32
|
TEST [[
---@type fun():number
local function f()
return 1, <!true!>
end
]]
TEST [[
---@return number, number?
function F()
return 1, 1, <!1!>
end
]]
TEST [[
---@return number, number?
function F()
return 1, 1, <!1!>, <!2!>, <!3!>
end
]]
TEST [[
---@meta
---@return number, number
local function r2() end
---@return number, number?
function F()
return 1, <!r2()!>
end
]]
|