Re: [fpc-pascal] Generics Bug
2017-03-18 19:29 GMT-03:00 African Wild Dog: > 2017-03-18 18:41 GMT-03:00 Sven Barth via fpc-pascal < > fpc-pascal@lists.freepascal.org>: > > Nested specializations are currently not supported though they *might* >> work with 3.1.1. >> > > I will do test some tests with 3.1.1. Thanks. > > Regards > I have tested with 3.1.1. Nested specializations works in 3.1.1. Regards ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Generics Bug
2017-03-18 18:41 GMT-03:00 Sven Barth via fpc-pascal < fpc-pascal@lists.freepascal.org>: Nested specializations are currently not supported though they *might* work > with 3.1.1. > I will do test some tests with 3.1.1. Thanks. Regards ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Generics Bug
Am 18.03.2017 22:41 schrieb "Sven Barth": > > Am 18.03.2017 19:55 schrieb "African Wild Dog" : > > > > 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 = record > > Key: TKey; > > Value: TValue; > > end; > > > > TEnumerator = class > > end; > > > > TGenericClass = class(TEnumerator >) > > 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
Re: [fpc-pascal] Generics Bug
Am 18.03.2017 19:55 schrieb "African Wild Dog": > > 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 = record > Key: TKey; > Value: TValue; > end; > > TEnumerator = class > end; > > TGenericClass = class(TEnumerator >) > end; > > implementation > > end. > > === Nested specializations are currently not supported though they *might* work with 3.1.1. Regards, Sven ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal