Regarding this issue:
 http://bugs.freepascal.org/bug_view_advanced_page.php?bug_id=20713

The following does not compile any more with FPC 2.6.0-0.rc1.
---
  generic TGen<_T> = class
    type public
      T_TArray = array of _T;
    var private
      w: T_TArray;
    public
      constructor Create(Value: _T);
  end;

  TSpecial = specialize TGen<integer>;
---

At line:
      T_TArray = array of _T;
it says:
  unit1.pas(31,16) Fatal: Syntax error, ":" expected but "=" found

It is either a regression bug in FPC 2.6.0 or a bug in FPC 2.4.4 that got
fixed.
Which one is it?

Juha
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to