зеркало из https://github.com/mono/mail-archives.git
134 строки
4.8 KiB
HTML
134 строки
4.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 479776] New: gmcs generates bad image for generic type nested from another generic type
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20479776%5D%20New%3A%20gmcs%20generates%20bad%20image%20for%20generic%0A%20type%20nested%20from%20another%20generic%20type&In-Reply-To=">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="086596.html">
|
|
<LINK REL="Next" HREF="086545.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 479776] New: gmcs generates bad image for generic type nested from another generic type</H1>
|
|
<B>bugzilla_noreply at novell.com</B>
|
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20479776%5D%20New%3A%20gmcs%20generates%20bad%20image%20for%20generic%0A%20type%20nested%20from%20another%20generic%20type&In-Reply-To="
|
|
TITLE="[Mono-bugs] [Bug 479776] New: gmcs generates bad image for generic type nested from another generic type">bugzilla_noreply at novell.com
|
|
</A><BR>
|
|
<I>Wed Feb 25 23:58:58 EST 2009</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="086596.html">[Mono-bugs] [Bug 479763] Generics sharing causes Delegate.CreateDelegate throws ArgumentException under unusual circumstances
|
|
</A></li>
|
|
<LI>Next message: <A HREF="086545.html">[Mono-bugs] [Bug 421827] [PATCH] CookieContainer.GetCookie skips cookie when domain has no leading dot
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#86543">[ date ]</a>
|
|
<a href="thread.html#86543">[ thread ]</a>
|
|
<a href="subject.html#86543">[ subject ]</a>
|
|
<a href="author.html#86543">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=479776">https://bugzilla.novell.com/show_bug.cgi?id=479776</A>
|
|
|
|
|
|
Summary: gmcs generates bad image for generic type nested from
|
|
another generic type
|
|
Classification: Mono
|
|
Product: Mono: Compilers
|
|
Version: unspecified
|
|
Platform: Other
|
|
OS/Version: Other
|
|
Status: NEW
|
|
Severity: Normal
|
|
Priority: P5 - None
|
|
Component: C#
|
|
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
|
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">atsushi at ximian.com</A>
|
|
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
|
Found By: ---
|
|
|
|
|
|
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6)
|
|
Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)
|
|
|
|
The repro code shows a nested generic class inside another generic class, which
|
|
results in runtime error on both .NET and Mono runtimes.
|
|
|
|
Probably typeof expression emits bad image.
|
|
|
|
Reproducible: Always
|
|
|
|
Steps to Reproduce:
|
|
Compile and run the repro with gmcs. To compare the difference, you might want
|
|
to try csc.
|
|
|
|
using System;
|
|
|
|
class C : C1<string>
|
|
{
|
|
public static void Main ()
|
|
{
|
|
Console.WriteLine (t);
|
|
}
|
|
}
|
|
|
|
class C1<T>
|
|
{
|
|
class C2<U> {}
|
|
|
|
public static Type t =
|
|
typeof (C2<>).MakeGenericType (typeof (int), typeof (int));
|
|
// public static Type t = typeof (C1<int>.C2<int>); -> OK
|
|
}
|
|
|
|
Actual Results:
|
|
** ERROR **: VAR (1) cannot be expanded in this context with 1 instantiations
|
|
aborting...
|
|
|
|
Expected Results:
|
|
print C1`1+C2`1[System.Int32,System.Int32]
|
|
|
|
--
|
|
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
|
|
------- You are receiving this mail because: -------
|
|
You are the QA contact for the bug.
|
|
You are the assignee for the bug.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="086596.html">[Mono-bugs] [Bug 479763] Generics sharing causes Delegate.CreateDelegate throws ArgumentException under unusual circumstances
|
|
</A></li>
|
|
<LI>Next message: <A HREF="086545.html">[Mono-bugs] [Bug 421827] [PATCH] CookieContainer.GetCookie skips cookie when domain has no leading dot
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#86543">[ date ]</a>
|
|
<a href="thread.html#86543">[ thread ]</a>
|
|
<a href="subject.html#86543">[ subject ]</a>
|
|
<a href="author.html#86543">[ 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>
|