You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Код из #2976, но вместо процедуры p1 - функция f1:
procedure p0(p: byte->word) := exit;
function f1<T>(o: T) := word(1);
begin
// OK
p0(f1&<byte>);
//Ошибка: Число типов-параметров в спецификации обобщённой подпрограммы f1 должно быть равно 1
p0(f1);
end.
The text was updated successfully, but these errors were encountered:
Код из #2976, но вместо процедуры
p1
- функцияf1
:The text was updated successfully, but these errors were encountered: