[Mono-bugs] [Bug 69334][Maj] New - Class reference in another namespace compile error with "Type C is not found"
Wed, 10 Nov 2004 16:00:56 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by firstname.lastname@example.org.
--- shadow/69334 2004-11-10 16:00:56.000000000 -0500
+++ shadow/69334.tmp.13170 2004-11-10 16:00:56.000000000 -0500
@@ -0,0 +1,48 @@
+Product: Mono: Compilers
+OS: SUSE 9.1
+Summary: Class reference in another namespace compile error with "Type C is not found"
+(1) If a class is in namespace A.B.C and it tries to use a class called
+X.Y.C by saying "using X.Y" and referencing C directly in the code, then
+the code fails to compile with the message:
+ "Type C is not found".
+ This used to compile cleanly with Mono 1.0. So, I was wondering this
+was a bug with mcs.
+ A way to work-around to this bug is to write the code as "using C_new
+>>> Miguel de Icaza <email@example.com> 11/10/2004 11:59:13 AM >>>
+> I wanted to pass this on, I'll have it Bugzilla'd shortly am also
+> checking with James on validity.
+This is two things:
+ * Fixing of the lookup rules (we had a broken implementation in
+ 1.0, and now we are closer to the C# spec).
+ * The error should have been `Ambiguous reference to class C',
+ but a regression on the errors shows it as `Not found'.
+ This has been fixed on CVS, and will ship on 1.1.3
+It is best to have bug reports filed on CVS though to make sure that
+issues are properly tracked.