Bugzilla – Bug 324561
[GMCS] typeof of nested unbound types causes the compiler crash
Last modified: 2010-04-27 09:54:37 UTC
---- Reported by marek.safar@seznam.cz 2007-06-15 19:09:37 MST ---- 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: Unknown operating system unknown. Setting to default OS "Other".
Fixed in trunk.