revert wrong pull request

This commit is contained in:
Ivan Bondarev 2023-03-19 11:40:38 +01:00
parent 8305a8c449
commit bb1a361e1a
2 changed files with 0 additions and 4 deletions

BIN
TestSuite/ns2.dll Normal file

Binary file not shown.

View file

@ -14196,10 +14196,6 @@ namespace PascalABCCompiler.TreeConverter
{
AddError(get_location(_procedure_attributes_list.proc_attributes[i]), "ATTRIBUTES_IN_INTERFACE_MEMBER");
}
if (is_override)
{
AddError(get_location(_procedure_attributes_list.proc_attributes[i]), "USING_MODIFIERS{0}_{1}_TOGETHER_NOT_ALLOWED", _procedure_attributes_list.proc_attributes[i].name, override_proc_attr);
}
common_function_node ccfn = context.top_function;
if (ccfn.return_value_type is undefined_type)
{