[Mono-bugs] [Bug 68437][Maj] New - mcs doesn't typecheck assignments to primitives

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 15 Oct 2004 16:05:27 -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 bcs26@cornell.edu.


--- shadow/68437	2004-10-15 16:05:27.000000000 -0400
+++ shadow/68437.tmp.23494	2004-10-15 16:05:27.000000000 -0400
@@ -0,0 +1,38 @@
+Bug#: 68437
+Product: Mono: Compilers
+Version: unspecified
+OS Details: Gentoo AMD64
+Status: NEW   
+Priority: Major
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bcs26@cornell.edu               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: mcs doesn't typecheck assignments to primitives
+The mcs C# compiler doesn't seem to typecheck assignment to primitives, in
+most circumstances, at least on amd64.
+Steps to reproduce the problem:
+1. mcs -t:exe TypeCheck.cs -o TypeCheck.exe
+Actual Results:
+Compilation succeeds.
+Expected Results:
+Compilation should fail with a type error.
+How often does this happen? 
+Additional Information:
+Seems to happen both with latest CVS (as of 10/13) and 1.1.1. I've only
+tested this on amd64, so it's possibly arch-specific.