[Mono-bugs] [Bug 44845][Wis] Changed - MCS needs to flag an error when the same type is obtained from different assemblies
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 27 Nov 2003 01:07:54 -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 miguel@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=44845
--- shadow/44845 2003-09-02 12:54:25.000000000 -0400
+++ shadow/44845.tmp.19170 2003-11-27 01:07:54.000000000 -0500
@@ -262,6 +262,40 @@
------- Additional Comments From miguel@ximian.com 2003-09-02 12:54 -------
I have added the -d:INSIDE_CORLIB to the makefile profile, and this
has fixed the compilation issue on Linux with the new makefile setup.
+
+------- Additional Comments From miguel@ximian.com 2003-11-27 01:07 -------
+Sample way to reproduce:
+
+File: 1.cs
+
+public class X {
+ public void P ()
+ {}
+}
+
+File: 2.cs
+public class X {
+ public void PP ()
+ {}
+}
+
+File: 3.cs
+class Y {
+ static X a;
+
+ static void Main ()
+ {
+ a.P ();
+ }
+}
+
+Compile like this:
+mcs -target:library 1.cs
+mcs -target:library 2.cs
+mcs 3.cs -r:1.dll -r:2.dll
+mcs 3.cs -r:2.dll -r:1.dll
+
+Notice the difference in output in the last two.