[nem-en] About opening namespace

vc vc at rsdn.ru
Wed Aug 2 10:16:05 CEST 2006


   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?




More information about the devel-en mailing list