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=74953 --- shadow/74953 2005-06-27 03:17:20.000000000 -0400 +++ shadow/74953.tmp.14294 2005-06-27 03:19:28.000000000 -0400 @@ -262,6 +262,15 @@ that the types are incompatible (because it doesn't know yet that that's allowed) and reject this as invalid IL - ie. in the same way as if you'd try to pass an array to a function taking a string ? My first idea of fixing this was having the verifier somehow change the type of the array. + +------- Additional Comments From [EMAIL PROTECTED] 2005-06-27 03:19 ------- +Paolo, what do you think about doing this in NEWARR ? + +Everytime you create an array where all elements have the same type T, +create an instance of some special generic class +System.InternalArray<T> instead of just System.Array. + +This shouldn't require too many changes in the JIT, just in NEWARR. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
