[Mono-bugs] [Bug 566628] 2.6.1 miscompiles ironpython binascii.cs

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 24 17:50:39 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=566628

http://bugzilla.novell.com/show_bug.cgi?id=566628#c1


Zoltan Varga <vargaz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vargaz at gmail.com

--- Comment #1 from Zoltan Varga <vargaz at gmail.com> 2009-12-24 22:50:32 UTC ---
Testcase:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
using System;
using System.Text;

public class Tests
{
    private delegate char EncodeChar(int val);

    private static StringBuilder EncodeWorker(string data, char empty,
EncodeChar encFunc) {
        return null;
    }

    public static void Main() {
        EncodeWorker ("", ' ', delegate(int val) {
            switch (val) {
            default:
                throw new InvalidOperationException(String.Format("Bad int val:
{0}", val));
            }
            });
    }
}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

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