[Mono-bugs] [Bug 620025] New: [Regression] gmcs ignores implicit operators
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Jul 6 05:58:28 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=620025
http://bugzilla.novell.com/show_bug.cgi?id=620025#c0
Summary: [Regression] gmcs ignores implicit operators
Classification: Mono
Product: Mono: Compilers
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: amcgovern at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
The following cannot be compiled anymore with trunk. It should print 'true'
when executed.
using System;
class Program
{
public class BaseClass
{
public static implicit operator string (BaseClass c)
{
return "I'm implicit";
}
}
public static void Main (string [] args)
{
Console.WriteLine ("Equal? {0}", new BaseClass () == "I'm implicit");
}
}
--
Configure bugmail: http://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