pascalabcnet/TestSuite/errors/err0529.pas
Ivan Bondarev 6bc05f0f90 #2957
2023-11-19 11:53:57 +01:00

21 lines
518 B
ObjectPascal
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//!Несколько подпрограмм proc1 могут быть вызваны
type
c1 = class
// обязательно метод. с подпрограммой не воспроизводится
procedure method1(act: System.Action);
begin end;
end;
procedure proc1(par1: System.Action<integer>); begin end;
procedure proc1(par1: System.Action<real>); begin end;
begin
var var1:= new c1;
var1.method1(
()-> begin
proc1(par1-> begin end);
end
);
end.