Minor fixes
This commit is contained in:
parent
fd8f7bf9f8
commit
cf023af50d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue