svn path=/branches/martin/anonymous-methods2/mcs/; revision=68391
authorMartin Baulig <martin@novell.com>
Thu, 23 Nov 2006 14:05:59 +0000 (14:05 -0000)
committerMartin Baulig <martin@novell.com>
Thu, 23 Nov 2006 14:05:59 +0000 (14:05 -0000)
mcs/mcs/anonymous.cs

index 695c95a85ca5b67b5ec96e3d18a596677a34da92..ad76de59708e7217b11315dd76319fd01147dbf1 100644 (file)
@@ -778,11 +778,16 @@ namespace Mono.CSharp {
                                        throw new InternalErrorException ();
                                if (!si.ResolveType ())
                                        throw new InternalErrorException ();
+                               if (!si.ResolveMembers ())
+                                       throw new InternalErrorException ();
+                               if (!si.DefineMembers ())
+                                       throw new InternalErrorException ();
                        }
                }
 
                protected override ScopeInitializer CreateScopeInitializer ()
                {
+#if FIXME
                        foreach (ScopeInfo si in scopes) {
                                if (!si.ResolveMembers ())
                                        throw new InternalErrorException ();
@@ -794,6 +799,7 @@ namespace Mono.CSharp {
                                throw new InternalErrorException ();
                        if (!DefineMembers ())
                                throw new InternalErrorException ();
+#endif
 
                        return new RootScopeInitializer (this);
                }