https://bugzilla.novell.com/show_bug.cgi?id=387878

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=387878#c2


Ted Unangst <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                                        |NEW
      Info Provider|[EMAIL PROTECTED]                               |




--- Comment #2 from Ted Unangst <[EMAIL PROTECTED]>  2008-05-07 12:02:25 MST ---
When generating code for a delegate call, I expect something like this:

    public void Test()
    {
        string s = null;
        s = ((string)(this.Selector <int, int, int, int, int, int, int, int,
int, int, int>(new Functional.Sub<int, int, int, int, int, int, int, int, int,
int, int>(this.Pick), 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)));

    __exitFunction2:
        return;
    }

Instead, mono produces this:

    public void Test()
    {
        string s = null;
        s = ((string)(this.Selector <int, int, int, int, int, int, int, int,
int, int, int>(new Functional.Sub<int>1(this.Pick), 1, 2, 3, 4, 5, 6, 7, 8, 9,
10, 11)));

    __exitFunction2:
        return;
    }
}

Note the "1" after <int>.

baseType[i] - '0' is not the correct way to parse a two digit number.


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

Reply via email to