mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 15:50:36 +02:00
pastojs: fixed shortrefglobals for minimal class interface, issue #38042
git-svn-id: trunk@47336 -
This commit is contained in:
parent
a2af4429f9
commit
71b8d5643d
@ -15388,7 +15388,7 @@ begin
|
||||
RaiseNotSupported(El,AContext,20180405093512);
|
||||
end;
|
||||
NeedInitFunction:=(pcsfPublished in Scope.Flags) or HasTypeInfo(El,AContext)
|
||||
or (IntfKind<>'');
|
||||
or (IntfKind<>'') or (coShortRefGlobals in Options);
|
||||
end;
|
||||
|
||||
if NeedInitFunction then
|
||||
|
Loading…
Reference in New Issue
Block a user