pastojs: delay RTTI init of dynamic and static array specializations

git-svn-id: trunk@46750 -
This commit is contained in:
Mattias Gaertner 2020-09-02 14:11:04 +00:00
parent 05edd719d5
commit 545ee82ec4

View File

@ -16770,6 +16770,8 @@ begin
end
else if (C=TPasArrayType) then
begin
if not HasTypeInfo(El,AContext) then
exit; // no RTTI needed
// pas.unitname.$rtti.TArr.eltype=$mod.$rtti.TBird;
aResolver:=AContext.Resolver;
Arr:=TPasArrayType(El);