[Mono-bugs] [Bug 57014][Nor] Changed - mcs doesn't emit code for a function with try catch and if

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 28 Apr 2004 00:08:28 -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 martin@ximian.com.

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

--- shadow/57014	2004-04-28 00:00:43.000000000 -0400
+++ shadow/57014.tmp.30364	2004-04-28 00:08:28.000000000 -0400
@@ -57,6 +57,14 @@
 }
 
 
 ------- Additional Comments From martin@ximian.com  2004-04-28 00:00 -------
 The last T is going soon, but I know what the problem is - will fix in
 the next 10 minutes or tomorrow.
+
+------- Additional Comments From martin@ximian.com  2004-04-28 00:08 -------
+Gotta go now.  In case I forget this:
+
+MemberAccess.ResolveMemberAccess -> gets a FieldExpr.
+TypeManager.LookupConstant() succeeds.
+c.LookupConstantValue() returns null => we use this as error condition.
+