[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.


--- 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 Details: 
+Status: NEW   
+Priority: Critical
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gsanjay@novell.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+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
+Actual Results:
+Compilation succeeded
+Expected Results:
+Should throw an error stating duplicate constructor.
+How often does this happen? 
+Additional Information:
+Version for the compiler obtained through command 
+mcs --version
+Mono C# compiler version