2013/10/30 Sven Barth <pascaldra...@googlemail.com>

> It's a bit annoying that the usage private/protected types in
> public/published functions is allowed... (this is however Delphi
> compatible) Maybe this should be adjusted for non-Delphi modes for language
> consistency... (maybe at least as a warning which could be elevated to an
> error if someone wants)
>

​Alternatively, consider do NOT allow access modifiers for NESTED types,
instead, the visibility of nested types follow the class they are embeded
in.  Anyway, what is the purpose of HIDE a nested type?

Regards,
Xiangrong​
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to