|
@@ -1187,13 +1187,13 @@ begin
|
|
Name:=t.Name;
|
|
Name:=t.Name;
|
|
if isModule(t.Module) then
|
|
if isModule(t.Module) then
|
|
Name:=t.Module.Name+'.'+Name;
|
|
Name:=t.Module.Name+'.'+Name;
|
|
- if FPool.hasOwnProperty(Name) then
|
|
|
|
- Result:=TRttiType(FPool[Name])
|
|
|
|
|
|
+ if GRttiContext.FPool.hasOwnProperty(Name) then
|
|
|
|
+ Result:=TRttiType(GRttiContext.FPool[Name])
|
|
else
|
|
else
|
|
begin
|
|
begin
|
|
Result := RttiTypeClass[T.Kind].Create(aTypeInfo);
|
|
Result := RttiTypeClass[T.Kind].Create(aTypeInfo);
|
|
|
|
|
|
- FPool[Name]:=Result;
|
|
|
|
|
|
+ GRttiContext.FPool[Name]:=Result;
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
|
|
|