Bugzilla – Bug 319426
[GMCS] error using indexer on instance of generic type
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by bcs26@cornell.edu 2005-10-29 04:10:50 MST ---- When compiling either of the attached test cases (GenDebug.cs and GenDebugConstr.cs), gmcs 1.1.9.1 generates an error and aborts. For example: """ > gmcs GenDebug.cs -t:library ** ERROR **: get custom attrs not yet supported for GenericTypeParameterBuilder aborting... Aborted """ 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. ---- Additional Comments From bcs26@cornell.edu 2005-10-29 04:13:59 MST ---- Created an attachment (id=168751) First test case. ---- Additional Comments From bcs26@cornell.edu 2005-10-29 04:14:27 MST ---- Created an attachment (id=168752) Second test case. ---- Additional Comments From martin@ximian.com 2005-11-17 13:48:05 MST ---- Fixed in SVN. Imported an attachment (id=168751) Imported an attachment (id=168752) Unknown operating system unknown. Setting to default OS "Other".