[Mono-bugs] [Bug 47234][Wis] New - MCS cannot resolve between fix parameters and variable parameter lists
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Fri, 1 Aug 2003 08:10:24 -0400 (EDT)
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 joergr@voelcker.com.
http://bugzilla.ximian.com/show_bug.cgi?id=47234
--- shadow/47234 Fri Aug 1 08:10:24 2003
+++ shadow/47234.tmp.10301 Fri Aug 1 08:10:24 2003
@@ -0,0 +1,44 @@
+Bug#: 47234
+Product: Mono/MCS
+Version: unspecified
+OS: Debian Woody
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: JoergR@voelcker.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: MCS cannot resolve between fix parameters and variable parameter lists
+
+Description of Problem:
+If there are different constructors with fix parameters and variable
+parameter lists mcs throws an error instead of using the fitting
+constructor with fix parameters.
+
+Steps to reproduce the problem:
+1. Compile the attached sample
+
+Actual Results:
+McsConstructor.cs(42) error CS0121: Ambiguous call when selecting function
+due to implicit casts
+McsConstructor.cs(42) error CS1501: Can not find a constructor for this
+argument list
+Compilation failed: 2 error(s), 0 warnings
+make: *** [McsConstructor.exe] Error 1
+
+
+Expected Results:
+No error (compiles fine using CSC)
+
+How often does this happen?
+Always.
+
+Additional Information:
+This code compiled well some time ago. A recent change in mcs must have
+introduced this bug.