mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-08-08 15:25:54 +02:00
pastojs: fixed shortrefglobals for minimal class interface, issue 38042
This commit is contained in:
parent
d497f63429
commit
0f2ec58bbe
@ -15388,7 +15388,7 @@ begin
|
|||||||
RaiseNotSupported(El,AContext,20180405093512);
|
RaiseNotSupported(El,AContext,20180405093512);
|
||||||
end;
|
end;
|
||||||
NeedInitFunction:=(pcsfPublished in Scope.Flags) or HasTypeInfo(El,AContext)
|
NeedInitFunction:=(pcsfPublished in Scope.Flags) or HasTypeInfo(El,AContext)
|
||||||
or (IntfKind<>'');
|
or (IntfKind<>'') or (coShortRefGlobals in Options);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if NeedInitFunction then
|
if NeedInitFunction then
|
||||||
|
Loading…
Reference in New Issue
Block a user