blob: df56ff95f4cf9c05eda8d852a7d82ccb4f32c3db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
unit tw26482;
{$mode delphi}
interface
type
TEnumerator<T> = class
end;
TList<T> = class
public
type
TEnumerator = class(TObject);
protected
function DoGetEnumerator: TEnumerator<T>;
end;
implementation
function TList<T>.DoGetEnumerator: TEnumerator<T>; // Error: Identifier not found "TEnumerator$1"
begin
end;
end.
|