Minor fixes

This commit is contained in:
Deukhoofd committed 2019-01-19 17:27:56 +01:00
1 parent fd8f7bf9f8
commit cf023af50d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ namespace Upsilon.BaseTypes
public override string ToString()
{
return Type.ToString();
return Type == Type.UserData ? UserData : Type.ToString();
}
}
@@ -8,7 +8,7 @@ namespace Upsilon.Binder.VariableSymbols
public BoundTypeDefinition BoundTypeDefinition { 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;
}