mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 14:47:55 +02:00
* Mark method for invoke helper
This commit is contained in:
parent
7085083559
commit
d3cc976551
@ -1291,6 +1291,14 @@ implementation
|
||||
if insertst.currentlyoptional then
|
||||
include(pd.procoptions,po_optional);
|
||||
|
||||
{ when extended rtti appears, then we must adapt this check}
|
||||
if (target_cpu=tsystemcpu.cpu_wasm32) and
|
||||
assigned(astruct) and
|
||||
(astruct.typ=objectdef) and
|
||||
(tobjectdef(astruct).objecttype in [odt_interfacecom,odt_interfacecorba]) and
|
||||
(pd.visibility=vis_published) then
|
||||
pd.synthetickind:=tsk_invoke_helper;
|
||||
|
||||
{ parse parameters }
|
||||
if token=_LKLAMMER then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user