Bug 321050 (MONO78309) - [GMCS] Assertion while compiling
Summary: [GMCS] Assertion while compiling
Status: RESOLVED FIXED
Alias: MONO78309
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Martin Baulig
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords: Built
Depends on:
Blocks:
 
Reported: 2006-05-05 21:53 UTC by Geoff Norton
Modified: 2010-03-21 11:41 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:57:55 UTC


---- Reported by grompf@sublimeintervention.com 2006-05-05 14:53:46 MST ----

The following test case:

using System;

public delegate void Handler <T> (T t);

public class T {
        public void Foo <T> (Handler <T> handler) {
                AsyncCallback d = delegate (IAsyncResult ar) {
                        Response <T> (handler);
                };
        }

        void Response <T> (Handler <T> handler) {}
} 

causes:

** ERROR **: file metadata.c: line 3047 (mono_type_size): assertion failed: (!gclass-
>generic_class.inst->is_open)
aborting...
Aborted  

-kangaroo



---- Additional Comments From martin@ximian.com 2006-06-16 14:07:35 MST ----

Works fine for me.


Unknown operating system unknown. Setting to default OS "Other".