diff options
Diffstat (limited to 'test/type_inference')
-rw-r--r-- | test/type_inference/init.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index 02b3da03..ab7404e2 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -1758,6 +1758,15 @@ x = '1' x = 1 ]] +TEST 'integer' [[ +local x +x = true +do + x = 1 +end +print(<?x?>) +]] + TEST 'integer?' [[ ---@type integer? local <?x?> |