summaryrefslogtreecommitdiff
path: root/script/vm/compiler.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-01 16:59:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-01 16:59:53 +0800
commit231e4e3b2be6f815c1d6734185537f777ef32d88 (patch)
tree908d1aeb53f442802de2eedcc0e22484e52c6efa /script/vm/compiler.lua
parentb9fdfac7c33478161dc17b8e41a0bd46b6f23621 (diff)
downloadlua-language-server-231e4e3b2be6f815c1d6734185537f777ef32d88.zip
update
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r--script/vm/compiler.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua
index 058f80ec..158fdc36 100644
--- a/script/vm/compiler.lua
+++ b/script/vm/compiler.lua
@@ -414,7 +414,7 @@ local function isValidCallArgNode(source, node)
end
if source.type == 'table' then
return node.type == 'doc.type.table'
- or (node.type == 'global' and node.cate == 'type' and not guide.isBaseType(node.name))
+ or (node.type == 'global' and node.cate == 'type' and not guide.isBasicType(node.name))
end
return false
end