diff options
Diffstat (limited to 'script')
-rw-r--r-- | script/core/infer.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/core/infer.lua b/script/core/infer.lua index 5bf8a5f2..8ac585f4 100644 --- a/script/core/infer.lua +++ b/script/core/infer.lua @@ -672,7 +672,8 @@ function m.getClass(source) end end local view = m.viewInfers(infers) - if view == 'any' then + if view == 'any' + or view == 'nil' then return nil end return view |