Repository URL to install this package:
Version:
3.0.0 ▾
|
{ %FAIL }
{ a helper may not be defined as a generic type }
program thlp28;
{$ifdef fpc}
{$mode delphi}
{$endif}
type
TFoo = class
end;
TFooHelper<T> = class helper for TFoo
function Test: T;
end;
function TFooHelper<T>.Test: T;
begin
end;
begin
end.