On Nov 17, 2024 at 7:57:07 PM, Sven Barth via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote:
> - how about allowing the same AS in unit declarations so we can do > something like [unit MyUnitWithABigName AS MyUnit] and then use > [MyUnit.TSomeClass] — this can already be done with MACROS, so it > would be simple to implement in the language, right? > > That alone shows that you have no clue how the compiler works... > Why is that such a crazy idea? There are already type aliases and module names work like types so it makes sense they could be aliased too. Why not? Regards, Ryan Joseph
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal