mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-24 03:59:12 +02:00
Fix loading of ObjC protocol type after c8fee69345
That type lives in the objcbase unit, not in the system unit Resolves #39914
This commit is contained in:
parent
5913434ba9
commit
efbf5eaa01
@ -7806,10 +7806,6 @@ implementation
|
||||
else
|
||||
if (objname^='IDISPATCH') then
|
||||
interface_idispatch:=self;
|
||||
if (childof=nil) and
|
||||
(objecttype=odt_objcclass) and
|
||||
(objname^='PROTOCOL') then
|
||||
objc_protocoltype:=self;
|
||||
if (objecttype=odt_javaclass) and
|
||||
not(oo_is_formal in objectoptions) then
|
||||
begin
|
||||
@ -7835,6 +7831,10 @@ implementation
|
||||
java_procvarbase:=self;
|
||||
end;
|
||||
end;
|
||||
if (childof=nil) and
|
||||
(objecttype=odt_objcclass) and
|
||||
(objname^='PROTOCOL') then
|
||||
objc_protocoltype:=self;
|
||||
|
||||
writing_class_record_dbginfo:=false;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user