[Mono-bugs] [Bug 28611][Wis] New - Ignores explicit cast operators
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
6 Aug 2002 11:13:44 -0000
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 duncan@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=28611
--- shadow/28611 Tue Aug 6 07:13:44 2002
+++ shadow/28611.tmp.24467 Tue Aug 6 07:13:44 2002
@@ -0,0 +1,32 @@
+Bug#: 28611
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: duncan@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Ignores explicit cast operators
+
+Description of Problem:
+Gtk# won't compile now because of this bug.
+
+The test case is attached.
+
+Actual Results:
+<duncan@diphthong: ~/src/ > mcs explicit.cs
+explicit.cs(25) error CS0030: Cannot convert type 'X' to 'int'
+error CS0165: Use of unassigned local variable `sum'
+Compilation failed: 2 error(s), 0 warnings
+
+Expected Results:
+<Duncan Mak@FRICATIVE: ~/ > ./explicit.exe
+30