[Mono-bugs] [Bug 41634][Wis] New - Should report the source of the problem

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Mon, 21 Apr 2003 03:37:05 -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 miguel@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=41634

--- shadow/41634	Mon Apr 21 03:37:05 2003
+++ shadow/41634.tmp.19163	Mon Apr 21 03:37:05 2003
@@ -0,0 +1,36 @@
+Bug#: 41634
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: miguel@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Should report the source of the problem
+
+It becomes very frustrating chasing a bug in a nested `new' invocation,
+because it is not known waht was being resolved:
+
+class X {
+	public X (int a, int b)
+	{
+	}
+}
+
+class Y {
+	static void Main ()
+	{
+		X x = new X (1);
+	}
+}
+
+This should say `There is no constructor for X with one parameter' instead
+of `cant find a constructor for this list'