[Mono-bugs] [Bug 379822] New: GMCS optimizes "var && false" to "var" instead of "false"
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Apr 14 16:31:15 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=379822
Summary: GMCS optimizes "var && false" to "var" instead of
"false"
Product: Mono: Compilers
Version: SVN
Platform: x86-64
OS/Version: Linux
Status: NEW
Severity: Critical
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: jan.oravec at 6com.sk
QAContact: mono-bugs at lists.ximian.com
Found By: ---
class C
{
public static void Main ()
{
bool yes = true;
System.Console.WriteLine (yes && false);
}
}
$ ./a.exe
True
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list