[Mono-bugs] [Bug 76587][Nor] New - gmcs error using indexer on instance of generic type

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Oct 29 04:10:51 EDT 2005

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 bcs26 at cornell.edu.


--- shadow/76587	2005-10-29 04:10:51.000000000 -0400
+++ shadow/76587.tmp.2701	2005-10-29 04:10:51.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 76587
+Product: Mono: Compilers
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: bcs26 at cornell.edu               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: gmcs error using indexer on instance of generic type
+When compiling either of the attached test cases (GenDebug.cs and
+GenDebugConstr.cs), gmcs generates an error and aborts. For example:
+> gmcs GenDebug.cs -t:library
+** ERROR **: get custom attrs not yet supported for GenericTypeParameterBuilder
+GenDebug.cs should not compile, since an instance of G does not necessarily
+have an indexer. GenDebugConstr.cs should (AFAIK) compile, since G is
+constrained to have an indexer. But neither of these cases should cause the
+compiler to fail as above.
+The output is identical on both amd64 and x86, running Gentoo. I have not
+yet tested gmcs in trunk.

More information about the mono-bugs mailing list