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
Display error messages instead of stack traces.
[mcs.git]
/
errors
/
gcs0695-2.cs
blob
9600a375e2b7551f6cc9a484e283691ca59d3691
1
// gcs0695.cs: `A<X,Y,Z>' cannot implement both `I<A<Y,Y,Z>>' and `I<X>' because they may unify for some type parameter substitutions
2
// Line: 7
3
4
interface
I
<
X
>
5
{ }
6
7
class
A
<
X
,
Y
,
Z
> :
I
<
X
>,
I
<
A
<
Y
,
Y
,
Z
>>
8
{ }