diff options
Diffstat (limited to 'script-beta/vm/getInfer.lua')
-rw-r--r-- | script-beta/vm/getInfer.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script-beta/vm/getInfer.lua b/script-beta/vm/getInfer.lua index c27fc6d2..194f78b4 100644 --- a/script-beta/vm/getInfer.lua +++ b/script-beta/vm/getInfer.lua @@ -32,6 +32,9 @@ function vm.getLiteral(source) literals[#literals+1] = util.viewLiteral(value) end end + if #literals == 0 then + return nil + end table.sort(literals) return table.concat(literals, '|') end |