summaryrefslogtreecommitdiff
path: root/script/vm/infer.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/vm/infer.lua')
-rw-r--r--script/vm/infer.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/vm/infer.lua b/script/vm/infer.lua
index 760f340c..1b0ff800 100644
--- a/script/vm/infer.lua
+++ b/script/vm/infer.lua
@@ -315,7 +315,8 @@ function mt:viewLiterals()
for n in nodeMgr.eachNode(self.node) do
if n.type == 'string'
or n.type == 'number'
- or n.type == 'integer' then
+ or n.type == 'integer'
+ or n.type == 'boolean' then
local literal = util.viewLiteral(n[1])
if not mark[literal] then
literals[#literals+1] = literal