[Mono-bugs] [Bug 70588][Wis] New - negative bytes implicitly converted to byte
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 15 Dec 2004 14:47:40 -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 jackson@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=70588
--- shadow/70588 2004-12-15 14:47:40.000000000 -0500
+++ shadow/70588.tmp.12569 2004-12-15 14:47:40.000000000 -0500
@@ -0,0 +1,31 @@
+Bug#: 70588
+Product: Mono: Compilers
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: jackson@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: negative bytes implicitly converted to byte
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Compile attached program. It should fail to compile.
+
+Actual Results:
+Compilation Succeded
+
+Expected Results:
+and.cs(10,3): error CS0031: Constant value '-2' cannot be converted to a 'byte'
+
+How often does this happen?
+Always