pascalabcnet/TestSuite/intellisense_tests/lambdas4.pas

7 lines
136 B
ObjectPascal
Raw Permalink Normal View History

2018-06-02 15:25:57 +03:00
procedure p1(b: sequence of byte) := exit;
begin
var hs := new HashSet<byte>;
p1(hs.Select(a -> a{@parameter a: byte;@}));
end.