diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-07 10:05:03 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-07 10:05:03 +0800 |
commit | ca299b0289c0f79972d83c44baa29cde20ce31f4 (patch) | |
tree | f7abd21d6b2cf2f2dd5d3d15d648b49f021ca034 /test | |
parent | 38f1e8ef764d4016dcaf788efa07765f7ac961cd (diff) | |
download | lua-language-server-ca299b0289c0f79972d83c44baa29cde20ce31f4.zip |
resolve #1293 operator supports `string`
Diffstat (limited to 'test')
-rw-r--r-- | test/type_inference/init.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index 11004e23..8607625e 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -3594,3 +3594,10 @@ local t local <?x?> = t.n ]] + +TEST 'string' [[ +---@class string +---@operator mod: string + +local <?b?> = '' % 1 +]] |