[nem-en] Does Nemerle allow nested interfaces?
Kamil Skalski
kamil.skalski at gmail.com
Mon Jan 29 16:28:59 CET 2007
2007/1/29, Vladimir Reshetnikov <v.reshetnikov at gmail.com>:
> Does Nemerle allow nested interfaces?
Hm...it seems that by accident it does. ;) If it works I guess it should stay.
>
> public interface IA {
> interface IB { /* Compiles fine */
> }
> }
>
> Then, why it is impossible to set its accessibilily?
And without the specifier it can be used in current assembly without problems?
>
> public interface IA {
> public interface IB { /* error : interface members are not allowed to
> have any attributes specified, except 'new' */
> }
> }
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>
--
Kamil Skalski
http://nazgul.omega.pl
More information about the devel-en
mailing list