[Mono-bugs] [Bug 324248] [GMCS] implicite conversion to boolean from generic using == does not work

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 6 17:15:30 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=324248#c2





--- Comment #2 from Sebastien Pouliot <spouliot at novell.com>  2007-11-06 15:15:29 MST ---
Just to confirm (for Windows) and to show the error that gmcs reports...

C:\temp>csc 324248.cs
Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.


C:\temp>324248
Hello World!
true
true


gmcs 324248.cs
324248.cs(11,29): error CS0019: Operator `==' cannot be applied to operands of
type `MonoBug.GenericType<bool>' and `bool'
Compilation failed: 1 error(s), 0 warnings


-- 
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