Bug 488943

Summary: Error compiling code that uses generics
Product: [Mono] Mono: Compilers Reporter: Gonzalo Paniagua Javier <gonzalo>
Component: C#Assignee: Mono Bugs <mono-bugs>
Status: RESOLVED DUPLICATE QA Contact: Mono Bugs <mono-bugs>
Severity: Normal    
Priority: P5 - None    
Version: 2.4.x   
Target Milestone: ---   
Hardware: x86   
OS: Linux   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Test case

Description Gonzalo Paniagua Javier 2009-03-25 21:50:42 UTC
Try compiling the attached file and you'll get:
test.cs(31,30): error CS0309: The type `AssertionExceptionFailureRunnable<T>' must be convertible to `BuildableRunnable<AssertionExceptionFailureRunnable<T>>' in order to use it as parameter `T1' in the generic type or method `ThrowChooser<T>.Chain<T1>(T1)'
Comment 1 Gonzalo Paniagua Javier 2009-03-25 21:51:09 UTC
Created attachment 282077 [details]
Test case
Comment 2 Marek Safar 2009-09-08 17:49:33 UTC
Fixed in trunk.

*** This bug has been marked as a duplicate of bug 537402 ***