* set the correct symtable level for the invoke procdef

This commit is contained in:
Sven/Sarah Barth 2022-05-29 13:55:57 +02:00
parent 60b0bc5535
commit dadc10658c

View File

@ -317,6 +317,8 @@ implementation
invokedef.struct:=result;
invokedef.visibility:=vis_public;
invokedef.procsym:=cprocsym.create(method_name_funcref_invoke_decl);
invokedef.parast.symtablelevel:=normal_function_level;
invokedef.localst.symtablelevel:=normal_function_level;
include(invokedef.procoptions,po_virtualmethod);
exclude(invokedef.procoptions,po_staticmethod);
exclude(invokedef.procoptions,po_classmethod);