Bug 488943 - Error compiling code that uses generics
Summary: Error compiling code that uses generics
Status: RESOLVED DUPLICATE of bug 537402
Alias: None
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 2.4.x
Hardware: x86 Linux
: P5 - None : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-25 21:50 UTC by Gonzalo Paniagua Javier
Modified: 2009-09-08 17:49 UTC (History)
0 users

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


Attachments
Test case (564 bytes, text/plain)
2009-03-25 21:51 UTC, Gonzalo Paniagua Javier
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***