We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab3f95e commit 38185a0Copy full SHA for 38185a0
nattlua/analyzer/base/base_analyzer.lua
@@ -62,7 +62,9 @@ return function(META)
62
out = out or {}
63
64
for _, expression in ipairs(expressions) do
65
- local obj = self:AnalyzeExpression(expression)
+ local obj, err = self:AnalyzeExpression(expression)
66
+ if not obj then self:Error(err) obj = Any() end
67
+
68
69
if obj and obj.Type == "tuple" and obj:HasOneValue() then
70
obj = obj:GetWithNumber(1)
0 commit comments