Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gcs0695-4.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8cf0ba4a547e688b91b5afa158ca5b543e1a3683 (plain)
1
2
3
4
5
6
7
8
9
10
11
// gcs0695.cs: `C<X,Y>' cannot implement both `I<X>' and `I<K<Y>>' 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>
{ }