diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/type_inference/init.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index 9af0d28c..36bbaa83 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -3931,3 +3931,8 @@ local t = { [5] = function(<?x?>) end, } ]] + +TEST 'number' [[ +---@type fun(x: number) +local function f(<?x?>) end +]] |