diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-06-29 16:02:15 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-06-29 16:02:15 +0800 |
commit | 46910e464bfab9992895898b4c1795e494796e39 (patch) | |
tree | 4a8580f9fa9d983b3a6f932a24011668d4938a67 /test | |
parent | 72fccb749b959881011e0ab0830c11917bfc3c55 (diff) | |
download | lua-language-server-46910e464bfab9992895898b4c1795e494796e39.zip |
resolve #1248 supports spaces before `--[[@as]]`
Diffstat (limited to 'test')
-rw-r--r-- | test/type_inference/init.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index e2fae2bb..a6791e22 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -3230,3 +3230,7 @@ end local <?x?> = f() ]=] + +TEST 'number' [=[ +local <?x?> = X --[[@as number]] +]=] |