mail-archives/mono-bugs/2005-June/031000.html

89 строки
3.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 74953][Maj] Changed - [GMCS] Converting array to
IEnumerable&lt;T&gt;
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2074953%5D%5BMaj%5D%20Changed%20-%20%5BGMCS%5D%20Converting%20array%20to%0A%09IEnumerable%3CT%3E&In-Reply-To=bug-74953%40chernobyl.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="030999.html">
<LINK REL="Next" HREF="031001.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 74953][Maj] Changed - [GMCS] Converting array to
IEnumerable&lt;T&gt;</H1>
<B>bugzilla-daemon at bugzilla.ximian.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2074953%5D%5BMaj%5D%20Changed%20-%20%5BGMCS%5D%20Converting%20array%20to%0A%09IEnumerable%3CT%3E&In-Reply-To=bug-74953%40chernobyl.ximian.com"
TITLE="[Mono-bugs] [Bug 74953][Maj] Changed - [GMCS] Converting array to
IEnumerable&lt;T&gt;">bugzilla-daemon at bugzilla.ximian.com
</A><BR>
<I>Mon Jun 27 03:17:21 EDT 2005</I>
<P><UL>
<LI>Previous message: <A HREF="030999.html">[Mono-bugs] [Bug 75386][Nor] New - can't compare object containing
an int64 value in VB.NET
</A></li>
<LI>Next message: <A HREF="031001.html">[Mono-bugs] [Bug 74953][Maj] Changed - [GMCS] Converting array to
IEnumerable&lt;T&gt;
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#31000">[ date ]</a>
<a href="thread.html#31000">[ thread ]</a>
<a href="subject.html#31000">[ subject ]</a>
<a href="author.html#31000">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">martin at ximian.com.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=74953">http://bugzilla.ximian.com/show_bug.cgi?id=74953</A>
--- shadow/74953 2005-06-26 14:19:59.000000000 -0400
+++ shadow/74953.tmp.14268 2005-06-27 03:17:20.000000000 -0400
@@ -253,6 +253,15 @@
the vs.net 2k5b2 debug window.
------- Additional Comments From <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mass at akuma.org</A> 2005-06-26 14:19 -------
Created an attachment (id=15385)
Test app against vs.net 2k5b2, with output in comment
+
+------- Additional Comments From <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">martin at ximian.com</A> 2005-06-27 03:17 -------
+Paolo, there's one thing which worries me: shouldn't the runtime detect
+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.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="030999.html">[Mono-bugs] [Bug 75386][Nor] New - can't compare object containing
an int64 value in VB.NET
</A></li>
<LI>Next message: <A HREF="031001.html">[Mono-bugs] [Bug 74953][Maj] Changed - [GMCS] Converting array to
IEnumerable&lt;T&gt;
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#31000">[ date ]</a>
<a href="thread.html#31000">[ thread ]</a>
<a href="subject.html#31000">[ subject ]</a>
<a href="author.html#31000">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>