[Mono-bugs] [Bug 68711][Nor] Changed - implicit casts not transitive

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 4 Nov 2004 12:54:11 -0500 (EST)


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 dan@clevermachine.com.

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

--- shadow/68711	2004-10-23 03:07:02.000000000 -0400
+++ shadow/68711.tmp.27323	2004-11-04 12:54:11.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 68711
 Product: Mono: Compilers
-Version: unspecified
-OS: 
+Version: 1.0
+OS: other
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: dan@clevermachine.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -79,6 +79,18 @@
 
 test.cs(18) error CS0030: Cannot convert type 'int' to 'decimal'
 test.cs(18) error CS0030: Cannot convert type 'int' to 'SuperDecimal'
 Compilation failed: 2 error(s), 0 warnings
 
 Let me know if I can provide more info.  Thanks!
+
+------- Additional Comments From dan@clevermachine.com  2004-11-04 12:54 -------
+
+>C, and type Y can implicitly cast to type X, attempting to implicitly
+cast
+>X to C generates a compiler error.  The following code, which
+demonstrates
+
+The above should read "attempting to implicitly cast Y to C"
+
+
+