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
2010-03-02 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git]
/
errors
/
gcs0695-3.cs
blob
447a0b29dabe82162f0b58c55da03e74e86f6bab
1
// gcs0695.cs: `C<X,Y>' cannot implement both `I<K<Y>>' and `I<X>' 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
<
X
>,
I
<
K
<
Y
>>
11
{ }