diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2023-08-11 18:39:51 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2023-08-11 18:39:51 +0800 |
commit | ed350080cfb3998fa95abb905cfa363f546e70ce (patch) | |
tree | 1c3f90dde731371cc0481b064a997472b1fc5243 /test/hover | |
parent | ce2b607822d142afdcd0bd5ca7156b43ea011a56 (diff) | |
download | lua-language-server-ed350080cfb3998fa95abb905cfa363f546e70ce.zip |
fix stack overflow
Diffstat (limited to 'test/hover')
-rw-r--r-- | test/hover/init.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua index 7d91c385..63220a59 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -2475,3 +2475,16 @@ local <?x?> [[ local x: A ]] + +TEST [[ +---@type A +local <?f?> + +---@enum A +local t = { + x = f, +} +]] +[[ +local f: A +]] |