Browse Source

Remove the (now) non-functional check for inline specialization.

git-svn-id: branches/svenbarth/generics@17540 -
svenbarth 14 years ago
parent
commit
95e2e28100
1 changed files with 0 additions and 5 deletions
  1. 0 5
      compiler/pexpr.pas

+ 0 - 5
compiler/pexpr.pas

@@ -2029,11 +2029,6 @@ implementation
                        if (hdef=cvarianttype) and
                           not(cs_compilesystem in current_settings.moduleswitches) then
                          current_module.flags:=current_module.flags or uf_uses_variants;
-                       { if we get a generic then check that it is not an inline specialization }
-                       if (df_generic in hdef.defoptions) and
-                          (token=_LT) and
-                          (m_delphi in current_settings.modeswitches) then
-                          generate_specialization(hdef,false,nil);
                        if try_to_consume(_LKLAMMER) then
                         begin
                           p1:=comp_expr(true,false);