[Mono-bugs] [Bug 69248][Nor] New - [GMCS] Wrong 122 error with generic structs
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 8 Nov 2004 16:45:58 -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.
http://bugzilla.ximian.com/show_bug.cgi?id=69248
--- shadow/69248 2004-11-08 16:45:58.000000000 -0500
+++ shadow/69248.tmp.18260 2004-11-08 16:45:58.000000000 -0500
@@ -0,0 +1,36 @@
+Bug#: 69248
+Product: Mono: Compilers
+Version: 1.1
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: carlos@unixmexico.org
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [GMCS] Wrong 122 error with generic structs
+
+Description of Problem:
+Currently gmcs shows error when it finds a struct that has no constructors
+is created calling the default parameterless constructor.
+
+Steps to reproduce the problem:
+1. Compile the attached file with gmcs
+
+Actual Results:
+GenericStruct2.cs(11) error CS0122: 'SimpleStruct`1..ctor' is inaccessible
+due to its protection level
+
+Expected Results:
+Compilation succeeded
+
+How often does this happen?
+Always
+
+Additional Information: