2021-01-06 16:20:07 +03:00
|
|
|
|
uses System, System.Collections.Generic;
|
2015-05-14 22:35:07 +03:00
|
|
|
|
|
|
|
|
|
|
procedure p<X, Y> (a: X; b: Action<IEnumerable<Dictionary<X, Y>>>; c: Y);
|
|
|
|
|
|
begin
|
2021-01-06 16:20:07 +03:00
|
|
|
|
assert(b.GetType().ToString() = 'System.Action`1[System.Collections.Generic.IEnumerable`1[System.Collections.Generic.Dictionary`2[System.Int32,System.Int32]]]');
|
2015-05-14 22:35:07 +03:00
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
|
|
begin
|
|
|
|
|
|
p(4, procedure(x) -> begin end, 5);
|
|
|
|
|
|
end.
|