summaryrefslogtreecommitdiff
path: root/test/signature/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/signature/init.lua')
-rw-r--r--test/signature/init.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/signature/init.lua b/test/signature/init.lua
index f46ce017..2bf4b824 100644
--- a/test/signature/init.lua
+++ b/test/signature/init.lua
@@ -88,7 +88,7 @@ end
x(1, 2, 3, <??>
]]
-{'function x(a: any, <!...any!>)'}
+{'function x(a: integer, <!...any!>)'}
TEST [[
(''):sub(<??>
@@ -106,7 +106,7 @@ end
f(1, 'string<??>')
]]
-{'function f(a: any, <!b: any!>, c: any)'}
+{'function f(a: integer, <!b: string!>, c: any)'}
TEST [[
pcall(function () <??> end)
@@ -156,7 +156,7 @@ end
f({},<??>)
]]
-{'function f(a: any, <!b: any!>, c: any)'}
+{'function f(a: table, <!b: any!>, c: any)'}
TEST [[
for _ in pairs(<??>) do
@@ -188,7 +188,7 @@ end
x( aaaa <??>, 2)
]]
-{"function x(<!a: any!>, b: any)"}
+{"function x(<!a: any!>, b: integer)"}
TEST [[
local function x(a, b)
@@ -196,7 +196,7 @@ end
x(<??> aaaa , 2)
]]
-{'function x(<!a: any!>, b: any)'}
+{'function x(<!a: any!>, b: integer)'}
TEST [[
local function x(a, b)
@@ -204,7 +204,7 @@ end
x(aaaa ,<??> 2)
]]
-{'function x(a: any, <!b: any!>)'}
+{'function x(a: any, <!b: integer!>)'}
TEST [[
local function x(a, b)
@@ -212,7 +212,7 @@ end
x(aaaa , 2 <??>)
]]
-{'function x(a: any, <!b: any!>)'}
+{'function x(a: any, <!b: integer!>)'}
TEST [[
local fooC