Author: marek
Date: 2007-06-20 18:16:47 -0400 (Wed, 20 Jun 2007)
New Revision: 80374

Modified:
   trunk/mcs/mcs/ChangeLog
   trunk/mcs/mcs/namespace.cs
Log:
2007-06-20  Marek Safar  <[EMAIL PROTECTED]>

        * namespace.cs (NamespaceEntry.Error_AmbiguousTypeReference): Print
        more error details.



Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog     2007-06-20 22:14:29 UTC (rev 80373)
+++ trunk/mcs/mcs/ChangeLog     2007-06-20 22:16:47 UTC (rev 80374)
@@ -1,5 +1,10 @@
 2007-06-20  Marek Safar  <[EMAIL PROTECTED]>
 
+       * namespace.cs (NamespaceEntry.Error_AmbiguousTypeReference): Print
+       more error details.
+       
+2007-06-20  Marek Safar  <[EMAIL PROTECTED]>
+
        * cs-tokenizer.cs: Removed var related stuff.
        
        * ecore.cs (Expression.ResolveAsContextualType): Introduced new method.

Modified: trunk/mcs/mcs/namespace.cs
===================================================================
--- trunk/mcs/mcs/namespace.cs  2007-06-20 22:14:29 UTC (rev 80373)
+++ trunk/mcs/mcs/namespace.cs  2007-06-20 22:16:47 UTC (rev 80374)
@@ -931,6 +931,8 @@
 
                static void Error_AmbiguousTypeReference (Location loc, string 
name, FullNamedExpression t1, FullNamedExpression t2)
                {
+                       Report.SymbolRelatedToPreviousError (t1.Type);
+                       Report.SymbolRelatedToPreviousError (t2.Type);
                        Report.Error (104, loc, "`{0}' is an ambiguous 
reference between `{1}' and `{2}'",
                                name, t1.FullName, t2.FullName);
                }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to