Minor fixes

This commit is contained in:
Deukhoofd 2019-01-19 17:27:56 +01:00
parent fd8f7bf9f8
commit cf023af50d
No known key found for this signature in database
GPG Key ID: B4C087AC81641654
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ namespace Upsilon.BaseTypes
public override string ToString() public override string ToString()
{ {
return Type.ToString(); return Type == Type.UserData ? UserData : Type.ToString();
} }
} }

View File

@ -8,7 +8,7 @@ namespace Upsilon.Binder.VariableSymbols
public BoundTypeDefinition BoundTypeDefinition { get; } public BoundTypeDefinition BoundTypeDefinition { get; }
public UserDataBoundTypeDefinition Parent { get; } public UserDataBoundTypeDefinition Parent { get; }
public UserDataVariableSymbol(string name, Type typeContainer, bool isLocal) : base(name, typeContainer, isLocal) public UserDataVariableSymbol(string name, TypeContainer typeContainer, bool isLocal) : base(name, typeContainer, isLocal)
{ {
_typeContainer = typeContainer; _typeContainer = typeContainer;
} }