This commit is contained in:
Ivan Bondarev 2023-02-05 11:12:02 +01:00
parent 71c09cd619
commit ccbf5c8d5b

View file

@ -1210,7 +1210,12 @@ namespace PascalABCCompiler.TreeConverter
//return tc;
}
else if (is_alone_method_defined) // если мы сюда попали, то ошибка более явная
{
error = new CanNotConvertTypes(factparams[i], factparams[i].type, formal_param_type, locg);
return null;
}
else
return null;
//return null;
}