summaryrefslogtreecommitdiff
path: root/test/type_inference
diff options
context:
space:
mode:
Diffstat (limited to 'test/type_inference')
-rw-r--r--test/type_inference/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua
index 30f47900..c40ef054 100644
--- a/test/type_inference/init.lua
+++ b/test/type_inference/init.lua
@@ -3715,3 +3715,7 @@ A.B.C = 1
print(A.B.<?C?>)
]]
+TEST '-2|-3|1' [[
+---@type 1|-2|-3
+local <?n?>
+]]