> On Oct 6, 2020, at 2:52 PM, Zamrony P. Juhara via fpc-pascal 
> <fpc-pascal@lists.freepascal.org> wrote:
> 
> I use a secondary unit as alias of all separate units as Marco suggests in
> 
> https://github.com/fanoframework/fano/blob/master/src/fano.pas
> 
> However I am curious if merging units like this has drawback. AFAIK smart 
> linking works.

Got around to trying this and the namespace aliases are nice. Thanks.

What about functions though? This will require lots of inline wrappers. Having 
a function alias would be a really nice feature but I think Sven actually 
rejected this idea some while ago when I asked.

Regards,
        Ryan Joseph

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to