mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-14 09:29:19 +02:00
* set the correct symtable level for the invoke procdef
This commit is contained in:
parent
60b0bc5535
commit
dadc10658c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user