[Mono-bugs] [Bug 70402][Wis] Changed - Crash when casting out params
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 30 Dec 2004 00:41:13 -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 duncan@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=70402
--- shadow/70402 2004-12-30 00:40:20.000000000 -0500
+++ shadow/70402.tmp.26665 2004-12-30 00:41:13.000000000 -0500
@@ -1,17 +1,17 @@
Bug#: 70402
Product: Mono: Compilers
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Wishlist
Component: C#
-AssignedTo: mono-bugs@ximian.com
+AssignedTo: duncan@ximian.com
ReportedBy: jackson@ximian.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
Summary: Crash when casting out params
@@ -78,6 +78,19 @@
------- Additional Comments From duncan@ximian.com 2004-12-30 00:40 -------
Created an attachment (id=13607)
Possible fix
+
+------- Additional Comments From duncan@ximian.com 2004-12-30 00:41 -------
+Here is a possible fix.
+
+2004-12-29 Duncan Mak <duncan@ximian.com>
+
+ * expression.cs (Argument.Resolve): Report CS1510 if Expr.eclass
+ is ExprClass.Variable and Expr is an EmptyCast.
+
+ This fixes #70402.
+
+I don't know if this is a general enough fix to the entire problem,
+though.