diff options
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r-- | script/vm/compiler.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index 1936fc75..cb54b054 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -663,7 +663,7 @@ function vm.compileByParentNode(source, key, ref, pushResult) ---@cast node vm.global and not guide.isBasicType(node.name) ) - or node.type == 'doc.type.string' then + or guide.isLiteral(node) then searchFieldSwitch(node.type, suri, node, key, ref, function (res, markDoc) if markDoc then docedResults[#docedResults+1] = res |