[Mono-bugs] [Bug 77395][Min] Changed - GMCS 1.1.13.1 crashes when compiling generics code below

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Feb 2 12:08:07 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by martin at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=77395

--- shadow/77395	2006-01-28 16:31:17.000000000 -0500
+++ shadow/77395.tmp.22619	2006-02-02 12:08:07.000000000 -0500
@@ -3,13 +3,13 @@
 Version: 1.1
 OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
 Severity: Unknown
-Priority: Major
+Priority: Minor
 Component: C#
 AssignedTo: martin at ximian.com                            
 ReportedBy: jan.oravec at 6com.sk               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
@@ -83,6 +83,23 @@
 How often does this happen? 
 
 Always
 
 ------- Additional Comments From miguel at ximian.com  2006-01-28 16:31 -------
 Confirmed.
+
+------- Additional Comments From martin at ximian.com  2006-02-02 12:08 -------
+The correct behavior is:
+
+martin at mordor ~
+$ csc B.cs
+Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.7
+for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
+Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.
+
+B.cs(1,7): error CS0309: The type 'B<int>' must be convertible to
+'D<B<int>>' in order to use it as parameter 'X' in the generic type or
+method 'C<X>'
+B.cs(3,11): (Location of symbol related to previous error)
+B.cs(2,7): (Location of symbol related to previous error)
+
+


More information about the mono-bugs mailing list