[nem-en] About opening namespace

Kamil Skalski kamil.skalski at gmail.com
Sun Aug 6 10:17:44 CEST 2006


Yes, I would say it is bug in complier - aliases should be expanded in
such kind of code.

On 8/2/06, vc <vc at rsdn.ru> wrote:
>    This code:
>
>    using System;
>    using SC = System.Collections;
>
>    namespace X
>    {
>      using SC.Generic; // ERROR!
>
>      module M
>      {
>        Main() : void
>        {
>          Console.WriteLine("");
>        }
>      }
>    }
>
>    report error:
>    error : referenced namespace `SC.Generic' does not exist
>
>    But, in C# similar code compile properly.
>
>    It's a bug in compiler?
>
>
> _______________________________________________
> https://nemerle.org/mailman/listinfo/devel-en
>


-- 
Kamil Skalski
http://nazgul.omega.pl



More information about the devel-en mailing list