[Mono-bugs] [Bug 55148][Cri] New - Duplicate constructors getting compiled
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 4 Mar 2004 00:05:50 -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 gsanjay@novell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=55148
--- shadow/55148 2004-03-04 00:05:50.000000000 -0500
+++ shadow/55148.tmp.15801 2004-03-04 00:05:50.000000000 -0500
@@ -0,0 +1,42 @@
+Bug#: 55148
+Product: Mono/Compilers
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Critical
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gsanjay@novell.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Duplicate constructors getting compiled
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+MCS compiler doesnot flags an error while compiling a library with two
+similar constructors.
+
+Steps to reproduce the problem:
+1. Compile the attached script with mcs -target:library classTest.cs
+2.
+3.
+
+Actual Results:
+Compilation succeeded
+
+Expected Results:
+Should throw an error stating duplicate constructor.
+
+How often does this happen?
+Always
+
+Additional Information:
+Version for the compiler obtained through command
+mcs --version
+Mono C# compiler version 0.30.99.0