[Mono-bugs] [Bug 67042][Nor] Changed - Compiler crash with static string a; string b = a + "x"

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 30 Sep 2004 16:40:54 -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 jluke@cfl.rr.com.

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

--- shadow/67042	2004-09-30 16:38:27.000000000 -0400
+++ shadow/67042.tmp.8054	2004-09-30 16:40:54.000000000 -0400
@@ -75,6 +75,12 @@
 invalid IL.
 
 ------- Additional Comments From jluke@cfl.rr.com  2004-09-30 16:38 -------
 Created an attachment (id=11752)
 patch
 
+
+------- Additional Comments From jluke@cfl.rr.com  2004-09-30 16:40 -------
+The above seems to fix it without breaking anything, but I am not sure
+it is correct. It just uses the as keyword to cast and only tries to
+convert it from Expression to Argument if it is not null (because it
+is already an Argument at least in this case, maybe always?).