From 7ef36fadb3607f8472239bd435b666399b0327d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 8 Mar 2023 22:07:21 +0800 Subject: fix #1928 --- script/vm/compiler.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'script/vm/compiler.lua') diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index b97517ba..8487ec56 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -1357,6 +1357,7 @@ local compilerSwitch = util.switch() if src.type == 'doc.field' or src.type == 'doc.type.field' or src.type == 'doc.type.name' + or src.type == 'doc.type' or guide.isLiteral(src) then hasMarkDoc = true vm.setNode(source, vm.compileNode(src)) -- cgit v1.2.3