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=81044 --- shadow/81044 2007-03-08 11:48:10.000000000 -0500 +++ shadow/81044.tmp.27713 2007-03-08 12:41:29.000000000 -0500 @@ -48,6 +48,16 @@ Please attach either the buggy generated binary or the IL code so we can add it to the verifier test suite. The test doesn't compile with gmcs for me: gmcs-invalidcast.cs(8,48): error CS0030: Cannot convert type `System.Collections.Generic.IList<object>' to `string[]' + +------- Additional Comments From [EMAIL PROTECTED] 2007-03-08 12:41 ------- +Ok, with an updated gmcs it compiled: gmcs thinks it doesn't need to +insert a cast opcode when storing into array: this is most likely a +gmcs bug as doing the cast in IL code generates the exception. +As for the verifier: this check is currently missing +(mini.c:target_type_is_incompatible), mostly because it is likely to +trigger with some methods in the presence of interface vars. +I'll see if implementing the check makes at least a full bootstrap +working. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
