diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/diagnostics/type-check.lua | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/diagnostics/type-check.lua b/test/diagnostics/type-check.lua index c59d73ed..f882d9c7 100644 --- a/test/diagnostics/type-check.lua +++ b/test/diagnostics/type-check.lua @@ -177,10 +177,11 @@ local m = {} m.ints = {} ]] -do return end TEST [[ ---@class A ---@field x integer + +---@type A local t <!t.x!> = true @@ -189,6 +190,8 @@ local t TEST [[ ---@class A ---@field x integer + +---@type A local t ---@type boolean @@ -200,9 +203,9 @@ local y TEST [[ ---@class A ---@field x integer -local t -t = { +---@type A +local t = { <!x!> = true } ]] |