Handle chained function call expressions

This commit is contained in:
Deukhoofd committed 2018-12-07 20:15:39 +01:00
1 parent 77be6fd996
commit 986d00b1a0
1 file changed
+6
+6
View File
@@ -335,6 +335,12 @@ namespace Upsilon.Binder
return new VariableSymbol(fullStopIndexExpression.Index, Type.Unknown, true);
}
}
if (expression.Kind == BoundKind.BoundFunctionCallExpression)
{
return new VariableSymbol("", expression.Type, true);
}
_diagnostics.LogError("Can't resolve variable", expression.Span);
return null;
}