summaryrefslogtreecommitdiff
path: root/script/vm/compiler.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r--script/vm/compiler.lua1
1 files changed, 1 insertions, 0 deletions
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))