diff options
Diffstat (limited to 'test/diagnostics/missing-fields.lua')
-rw-r--r-- | test/diagnostics/missing-fields.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/diagnostics/missing-fields.lua b/test/diagnostics/missing-fields.lua index d8731775..f5fdd35c 100644 --- a/test/diagnostics/missing-fields.lua +++ b/test/diagnostics/missing-fields.lua @@ -197,3 +197,11 @@ local b = { c = 3, } ]] + +TEST [[ +---@class A +---@field x integer + +---@type A +return <!{}!> +]] |