diff options
Diffstat (limited to 'server/test')
-rw-r--r-- | server/test/hover/init.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua index cff6af65..c6e01f25 100644 --- a/server/test/hover/init.lua +++ b/server/test/hover/init.lua @@ -796,3 +796,10 @@ local <?x?> = f() [[ local x: any ]] + +TEST [[ +local <toclose> <const> <?x?> = 1 +]] +[[ +local <toclose> <const> x: number = 1 +]] |