Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=79301 --- shadow/79301 2006-09-08 04:02:20.000000000 -0400 +++ shadow/79301.tmp.8819 2006-09-24 07:40:45.000000000 -0400 @@ -48,6 +48,19 @@ ------- Additional Comments From [EMAIL PROTECTED] 2006-09-08 04:02 ------- Hmm. I'm puzzled how this can work. 'null' can be lifted to _any_ nullable type, so why is this not ambiguous? What's special about Nullable<int>? + +------- Additional Comments From [EMAIL PROTECTED] 2006-09-24 07:40 ------- +It seems to me, that during constant folding null -> int conversion is +allowed. + +When I tried + +byte? i = null / null; + +I got + +error CS0266: Cannot implicitly convert type 'int?' to 'byte?'. An +explicit conversion exists (are you missing a cast?) _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
