Am 01.09.2017 14:41 schrieb "Maciej Izak" <hnb.c...@gmail.com>: > > 2017-09-01 14:30 GMT+02:00 Michael Van Canneyt <mich...@freepascal.org>: >>> >>> >>> No, directives won't be abused for something like that. >> >> >> I am glad I am not the only one who thins so :) > > > I like experiments as you know. Thanks for critical words as always :P. But this time I must agree too. :) Only one experimental option left in my mind for this: > > s: string with TH1, TH2; > > but for now probably hardcasting is the best what we can.
I'd prefer to keep that syntax for aspects or as alternative attribute syntax instead of wasting it for helpers that are defined to work based on the type. Regards, Sven
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel