Bug 320359 (MONO77583) - [GMCS] trouble casting generics
Summary: [GMCS] trouble casting generics
Status: RESOLVED FIXED
Alias: MONO77583
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Martin Baulig
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-17 22:24 UTC by Axel T Schreiner
Modified: 2007-09-15 21:24 UTC (History)
0 users

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


Attachments
C# source file provoking the bug (1.33 KB, text/plain)
2006-02-17 22:25 UTC, Thomas Wiest
Details

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


---- Reported by ats@cs.rit.edu 2006-02-17 15:24:32 MST ----

Please fill in this template when reporting a bug, unless you know what you are doing.
Description of Problem:

compile enclosed file.

it does compile and run ok on .NET 2 beta.

It produces

/Library/Frameworks/Mono.framework/Commands/gmcs cons.cs
cons.cs(28,24): error CS1502: The best overloaded method match for `Cons<A,B>.Cons`2(in A, 
in B)' has some invalid arguments
cons.cs(28,24): error CS1503: Argument 2: Cannot convert from `A' to `in B'
cons.cs(29,24): error CS1502: The best overloaded method match for `Cons<A,B>.Cons`2(in A, 
in B)' has some invalid arguments
cons.cs(29,24): error CS1503: Argument 2: Cannot convert from `A' to `in B'
Compilation failed: 4 error(s), 0 warnings



---- Additional Comments From ats@cs.rit.edu 2006-02-17 15:25:41 MST ----

Created an attachment (id=169295)
C# source file provoking the bug




---- Additional Comments From martin@ximian.com 2006-03-21 13:14:10 MST ----

Fixed in SVN.

Imported an attachment (id=169295)

Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>Just downloaded newest binary release of Mono.framework</cf_op_sys_details>
Unknown operating system unknown. Setting to default OS "Other".