On Oct 19, 2025 at 10:50:42 PM, Martin Frb via fpc-devel < [email protected]> wrote:
> Well, yes, it may be unimplemented in the parser... And maybe that is all > of it. > > Maybe historically it would have been a complex task to add. Yet, > currently it would seem to be that the parser just needs to skip any amount > of "dot identifier"? > Ideally the parser catches syntax errors before specialization. FPC has an undefined type so upon encountering this you would be an "undefined sub tree expression parser" which could handle all possible expressions which originated from the identifier. FPC just stores the raw tokens so all the compiler really needs to know is where the start and end of the generic type/proc are.
_______________________________________________ fpc-devel maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
