repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
retag
[mcs.git]
/
errors
/
gcs0695-4.cs
blob
8cf0ba4a547e688b91b5afa158ca5b543e1a3683
1
// gcs0695.cs: `C<X,Y>' cannot implement both `I<X>' and `I<K<Y>>' because they may unify for some type parameter substitutions
2
// Line: 10
3
4
interface
I
<
X
>
5
{ }
6
7
interface
K
<
X
>
8
{ }
9
10
class
C
<
X
,
Y
> :
I
<
K
<
Y
>>,
I
<
X
>
11
{ }