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=81887 --- shadow/81887 2007-06-15 19:09:37.000000000 -0400 +++ shadow/81887.tmp.14591 2007-06-15 19:09:37.000000000 -0400 @@ -0,0 +1,67 @@ +Bug#: 81887 +Product: Mono: Compilers +Version: unspecified +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: [GMCS] typeof of nested unbound types caused compiler crash + +Please fill in this template when reporting a bug, unless you know what you +are doing. +Description of Problem: + +typeof of nested unbound types caused compiler crash + +Steps to reproduce the problem: +1. The test is a copy of gtest-066.cs (no need to commit it again) +2. uncomment the line + + +using System; +using A = Test; + +public class Foo<T> +{ + public class Bar <U> + { + } +} + +namespace Test +{ + class FooEx<V, W> {} +} + +class X +{ + static void Main () + { + Console.WriteLine (typeof (Foo<>)); +// Console.WriteLine (typeof (Foo<>.Bar<>)); + Console.WriteLine (typeof (Test.FooEx<,>)); + Console.WriteLine (typeof (A::FooEx<,>)); + } +} + +Actual Results: + +Crash + +Expected Results: + +No error + +How often does this happen? + + +Additional Information: _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
