mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 16:59:12 +02:00
Fix the test. It's mode Delphi, but does not compile in Delphi, because "TSomeRecord" and "TSomeRecord<T>" are different identifiers.
git-svn-id: branches/svenbarth/generics@19720 -
This commit is contained in:
parent
6a83ebc4a5
commit
d94a55604e
@ -5,13 +5,13 @@ program tw18567;
|
||||
type
|
||||
TSomeRecord <TData> = record
|
||||
data: TData;
|
||||
class operator Explicit(a: TData) : TSomeRecord;
|
||||
class operator Explicit(a: TData) : TSomeRecord <TData>;
|
||||
end;
|
||||
|
||||
class operator TSomeRecord <TData>.Explicit (a: TData): TSomeRecord;
|
||||
class operator TSomeRecord <TData>.Explicit (a: TData): TSomeRecord <TData>;
|
||||
begin
|
||||
|
||||
end;
|
||||
|
||||
begin
|
||||
end.
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user