Fix binding functions return types not always working
This commit is contained in:
@@ -365,10 +365,6 @@ namespace Upsilon.Binder
|
||||
if (parent.Properties.TryGetValue(fullStopIndexExpression.Index.ToLowerInvariant(),
|
||||
out var bDefProperty))
|
||||
{
|
||||
var userData = bDefProperty.Type.UserData;
|
||||
if (string.IsNullOrEmpty(userData))
|
||||
return new VariableSymbol(fullStopIndexExpression.Index, Type.Unknown, true);
|
||||
|
||||
var boundDef = BoundTypeHandler.GetTypeDefinition(bDefProperty.Type.UserData ?? bDefProperty.ActualType);
|
||||
if (boundDef != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user