diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-07 02:58:03 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-07 02:58:03 +0800 |
commit | 84441873f6b0e4a75ee9b9d96d88c5609c7a48dc (patch) | |
tree | 6f390e1e74cca7a0b0bb70a7680519af0fa43c04 /script/vm/infer.lua | |
parent | e9975c2081dfe2f42392a7612b2a3862e513e45e (diff) | |
download | lua-language-server-84441873f6b0e4a75ee9b9d96d88c5609c7a48dc.zip |
update
Diffstat (limited to 'script/vm/infer.lua')
-rw-r--r-- | script/vm/infer.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/vm/infer.lua b/script/vm/infer.lua index e6ca14e2..853bd7de 100644 --- a/script/vm/infer.lua +++ b/script/vm/infer.lua @@ -81,6 +81,9 @@ local viewNodeSwitch = util.switch() : call(function (source, infer) if source.cate == 'type' then infer._hasClass = true + if source.name == 'number' then + infer._hasNumber = true + end return source.name end end) |