In mcs and gmcs:
[mono.git] / mcs / gmcs / ChangeLog
index 6497786bf1893896f9ac2e3ce3cb6789107a3e51..f33eb98bdbc3c2fcc307c38ea8fc3bc18643cfa5 100644 (file)
@@ -1,3 +1,26 @@
+2006-08-02  Raja R Harinath  <rharinath@novell.com>
+
+       * namespace.cs (NamespaceEntry.Doppelganger): Create slave
+       declspaces for doppelgangers too.
+       (UsingEntry): Implement IResolveContext.
+       (UsingEntry.Resolve): Don't set ToplevelTypes.Namespace.  Use
+       'this' as the resolve context.
+       (LocalAliasEntry): Likewise.
+
+       Implement parts of #77403
+       * roottypes.cs (RootDeclSpace): New.  Used to represent the
+       toplevel declaration space.  Each namespace declaration introduces
+       a "partial" root declaretion space.
+       * namespace.cs (NamespaceEntry.SlaveDeclSpace): New.
+       (NamespaceEntry.ctor): Create a SlaveDeclSpace if necessary.
+       * cs-parser.jay (CSharpParser.ctor): Initialize 'current_class'
+       from 'current_namespace.SlaveDeclSpace'.
+       (namespace_declaration): Likewise.
+       * class.cs (TypeContainer.ctor): Remove parent==ToplevelTypes
+       check.  It can't happen now.
+       * decl.cs (DeclSpace.LookupType): Likewise.
+       * driver.cs (MainDriver): Sanity check.
+
 2006-08-01  Raja R Harinath  <rharinath@novell.com>
 
        * decl.cs (DeclSpace.FindNestedType): Remove.