fpc/tests/webtbs/tw30030.pp
svenbarth d07b49270f Fix for Mantis #30030.
pgenutil.pas:
  * parse_generic_specialization_types_internal: ignore the parasymtable of procvars (as before the addition of generic routines) and instead use the type's hierarchy name
  * generate_specialization_phase2: specialize types of procvars into the parameter symtable as they don't have a local one

+ added test

git-svn-id: trunk@33544 -
2016-04-22 13:07:48 +00:00

16 lines
169 B
ObjectPascal

{ %NORUN }
program tw30030;
{$mode delphi}
type
TAcl<K, R, M> = Class
End;
TAssertion<K, R, M> = Function(Acl: TAcl<K, R, M>): Boolean Of Object;
begin
end.