[Mono-bugs] [Bug 662108] mcs emits invalid IL on as operator for nullable types
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Jan 5 08:26:52 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=662108
https://bugzilla.novell.com/show_bug.cgi?id=662108#c1
Marek Safar <msafar at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Marek Safar <msafar at novell.com> 2011-01-05 13:26:52 UTC ---
Fixed in master.
I have tried to fix it in 2.6 branch but my git skills are not good enough to
commit to 2.6 branch
All what is needed is to change lines 1463-1467 in expression.cs to be
Expression e = Convert.ImplicitConversion (ec, expr, type, loc);
if (e != null){
e = EmptyCast.Create (e, type);
return ReducedExpression.Create (e, this).Resolve (ec);
}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list