[Mono-bugs] [Bug 387878] Correctly determine number of types
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed May 7 14:02:25 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=387878
User tedu at fogcreek.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=387878#c2
Ted Unangst <tedu at fogcreek.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
Info Provider|tedu at fogcreek.com |
--- Comment #2 from Ted Unangst <tedu at fogcreek.com> 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.
More information about the mono-bugs
mailing list