mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-22 01:20:28 +02:00
pastojs: fixed creating enum shortrefs for precompiled code
This commit is contained in:
parent
6ff084bbea
commit
241cea1865
@ -27013,7 +27013,7 @@ begin
|
||||
for i:=0 to ElRefList.Count-1 do
|
||||
begin
|
||||
El:=TPasElement(ElRefList[i]);
|
||||
if ElNeedsGlobalAlias(El) then
|
||||
// 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