[Mono-bugs] [Bug 69247][Nor] New - [GMCS] Wrong 1501 error with generic structs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 8 Nov 2004 16:37:11 -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 carlos@unixmexico.org.


--- shadow/69247	2004-11-08 16:37:11.000000000 -0500
+++ shadow/69247.tmp.18167	2004-11-08 16:37:11.000000000 -0500
@@ -0,0 +1,38 @@
+Bug#: 69247
+Product: Mono: Compilers
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: carlos@unixmexico.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: [GMCS] Wrong 1501 error with generic structs
+Description of Problem:
+Currently gmcs will show the 1501 error when it finds generic structs, that
+having more than a one constructor, are created using the default
+parameterless constructor.
+Steps to reproduce the problem:
+1. Get the patch below and compile with gmcs
+Actual Results:
+GenericStruct.cs(10) error CS1501: No overload for method
+`SimpleStruct`1<System.String>' takes `0' argument
+Expected Results:
+Compilation succeeded
+How often does this happen? 
+Additional Information: