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: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs