[Mono-bugs] [Bug 52588][Nor] Changed - User-defined conditional logical operators may evaluate parameters twice
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 28 Apr 2004 22:22:35 -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=52588
--- shadow/52588 2004-04-28 21:57:40.000000000 -0400
+++ shadow/52588.tmp.16086 2004-04-28 22:22:35.000000000 -0400
@@ -1,13 +1,13 @@
Bug#: 52588
Product: Mono: Compilers
Version: unspecified
OS: unknown
OS Details:
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: FIXED
Severity: Unknown
Priority: Normal
Component: C#
AssignedTo: martin@ximian.com
ReportedBy: bmaurer@users.sf.net
QAContact: mono-bugs@ximian.com
@@ -78,6 +78,9 @@
The operation x && y is evaluated as T.false(x) ? x : T.&(x, y)...
The operation x || y is evaluated as T.true(x) ? x : T.|(x, y)...
In either of these operations, the expression given by x is only evaluated
once, and the expression given by y is either not evaluated or evaluated
exactly once.
+
+------- Additional Comments From martin@ximian.com 2004-04-28 22:22 -------
+Fixed in CVS, added test-244.