mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-05 19:27:45 +02:00
pastojs: fixed creating enum shortrefs for precompiled code
This commit is contained in:
parent
6ff084bbea
commit
241cea1865
@ -27013,8 +27013,8 @@ begin
|
||||
for i:=0 to ElRefList.Count-1 do
|
||||
begin
|
||||
El:=TPasElement(ElRefList[i]);
|
||||
if ElNeedsGlobalAlias(El) then
|
||||
CreateGlobalElPath(El,SectionContext);
|
||||
// Note: they are all needed by precompiled code, do not check ElNeedsGlobalAlias
|
||||
CreateGlobalElPath(El,SectionContext);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user