mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 03:48:07 +02:00
* if an interface is declared inherit the invokable flag from the parent interface
This commit is contained in:
parent
2ed2c21313
commit
c3736810ac
@ -1643,6 +1643,11 @@ implementation
|
||||
if is_objectpascal_helper(current_structdef) then
|
||||
parse_extended_type(helpertype);
|
||||
|
||||
if is_interface(current_objectdef) and
|
||||
is_interface(current_objectdef.childof) and
|
||||
(oo_is_invokable in tobjectdef(current_objectdef.childof).objectoptions) then
|
||||
include(current_objectdef.objectoptions,oo_is_invokable);
|
||||
|
||||
{ parse optional GUID for interfaces }
|
||||
parse_guid;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user