> On Jun 7, 2019, at 4:51 PM, Sven Barth via fpc-devel > <fpc-devel@lists.freepascal.org> wrote: > > It has been part of FPC from the beginning of generics. It allows the parser > to differentiate easier that a specialization is following. This was less > important when only type declarations could contain specializations, but > nowadays with support for inline specializations this is especially true as > something with "<" in it is not always easy to differentiate between a > specialization and an expression. Case in point: Delphi mode doesn't yet > support all kinds of expressions containing specializations that mode ObjFPC > supports.
Then maybe it could be optional within type declarations? Delphi mode achieves this so I think ObjFPC could also. Yet another modeswitch like “autoderef”? :) Regards, Ryan Joseph _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel