[Mono-bugs] [Bug 59793][Nor] Changed - unknown operator: long_conv_to_ovf_u1_un

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 8 Jun 2004 09:41:17 -0400 (EDT)


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 sebastien@ximian.com.

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

--- shadow/59793	2004-06-08 09:36:01.000000000 -0400
+++ shadow/59793.tmp.7857	2004-06-08 09:41:17.000000000 -0400
@@ -2,13 +2,13 @@
 Product: Mono: Runtime
 Version: unspecified
 OS: All
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: sebastien@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -68,6 +68,18 @@
 
 mono chk.exe
 
 ** ERROR **: unknown operator: long_conv_to_ovf_u1_un
 aborting...
 Aborted
+
+------- Additional Comments From sebastien@ximian.com  2004-06-08 09:41 -------
+The same sample works when dealing with signed bytes
+
+class T {
+	static void Main (string[] args) 
+	{
+		long l = System.Int64.Parse (args[0]);
+		sbyte sb = checked ((sbyte) l);
+		System.Console.WriteLine (sb);
+	}
+}