Handle chained function call expressions
This commit is contained in:
parent
77be6fd996
commit
986d00b1a0
|
@ -335,6 +335,12 @@ namespace Upsilon.Binder
|
||||||
return new VariableSymbol(fullStopIndexExpression.Index, Type.Unknown, true);
|
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;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue