Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly import nested non-generic types inside generic containers u…
…sed within same generic container. Fixes #13549
- Loading branch information
1 parent
90e4ae4
commit 02820da
Showing
4 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Compiler options: -target:library | ||
|
||
using System; | ||
|
||
namespace A | ||
{ | ||
public class B<T> | ||
{ | ||
public abstract class C : System.IEquatable<C> | ||
{ | ||
public abstract bool Equals (C other); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Compiler options: -r:gtest-591-lib.dll | ||
|
||
using System; | ||
|
||
public class E | ||
{ | ||
public System.Collections.Generic.Dictionary<int, A.B<int>.C> F; | ||
public static void Main () | ||
{ | ||
var e = new E (); | ||
Console.WriteLine (e.F); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters