Pending test for #653

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@14469 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
maier 2008-03-31 13:36:09 +00:00
parent 3ee15413df
commit c1a843abe0
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,5 @@
t0653.scala:5: error: inferred the kinds of the type arguments (InL[Nothing,Nothing]) do not conform to the expected kinds of the type parameters (type Op) in class Fix.
InL[Nothing,Nothing]'s type parameters do not match type Op's expected parameters: class InL has two type parameters, but type Op has one
val zero = new Fix(new InL)
^
one error found

View File

@ -0,0 +1,6 @@
class InL[A, B]
class Fix[Op[A]](x : Op[Fix[Op]])
class FixTest {
val zero = new Fix(new InL)
}