Am 18.03.2017 22:41 schrieb "Sven Barth" <pascaldra...@googlemail.com>: > > Am 18.03.2017 19:55 schrieb "African Wild Dog" <paintedlyc...@gmail.com>: > > > > Hello, > > > > > > Please confirm this bug. > > > > The unit code bellow won't compile (fpc 3.0.2 - debian jessie amd64): > > > > "generics_bug.pas(17,48) Fatal: Syntax error, "," expected but "<" found" > > > > === CODE === > > > > unit generics_bug; > > > > {$mode delphi} > > > > interface > > > > type > > > > TPair<TKey, TValue> = record > > Key: TKey; > > Value: TValue; > > end; > > > > TEnumerator<T> = class > > end; > > > > TGenericClass<T, K> = class(TEnumerator<TPair<T, K>>) > > end; > > > > implementation > > > > end. > > > > === > > Nested specializations are currently not supported though they *might* work with 3.1.1.
Note: "they" in the sense of "this specific case". Regards, Sven
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal