blob: c90f1090672caa5b67c1b36b3c2bccf380b17085 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ %fail }
{$mode objfpc}
{$interfaces corba}
type
generic IList<TElem> = interface
end;
generic ISet<TElem> = interface
end;
generic IMap<TKey, TValue> = interface
type
TKeySet = specialize ISet<TKey>; // wrong syntax?
TValueSet = specialize IList<TValue>; // wrong syntax?
function Keys : TKeySet;
function Values : TValueSet;
end;
begin
end.
|