Fixed issue with userdata type on evaluation

This commit is contained in:
2019-01-19 17:50:54 +01:00
parent cf023af50d
commit 246aba3e95
14 changed files with 36 additions and 25 deletions

View File

@@ -10,7 +10,7 @@ namespace Upsilon.BaseTypes.UserData
Value = obj;
_typeInfo = UserDataTypeHandler.GetTypeInfo(obj.GetType());
}
public override Type Type => Type.UserData;
public override TypeContainer Type => new TypeContainer(_typeInfo.BoundTypeName);
private object Value { get; }
private readonly UserDataType _typeInfo;