a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
12 lines
210 B
C#
12 lines
210 B
C#
// CS0695: `C<X,Y>' cannot implement both `I<K<Y>>' and `I<X>' because they may unify for some type parameter substitutions
|
|
// Line: 10
|
|
|
|
interface I<X>
|
|
{ }
|
|
|
|
interface K<X>
|
|
{ }
|
|
|
|
class C<X,Y> : I<K<Y>>, I<X>
|
|
{ }
|