From cb817b325313146a048b306ac1a948a46fadbd63 Mon Sep 17 00:00:00 2001 From: NAME Date: Mon, 31 Mar 2008 13:36:09 +0000 Subject: Pending test for #653 --- test/pending/neg/t0653.check | 5 +++++ test/pending/neg/t0653.scala | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 test/pending/neg/t0653.check create mode 100644 test/pending/neg/t0653.scala diff --git a/test/pending/neg/t0653.check b/test/pending/neg/t0653.check new file mode 100644 index 0000000000..cb5ca65b8e --- /dev/null +++ b/test/pending/neg/t0653.check @@ -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 diff --git a/test/pending/neg/t0653.scala b/test/pending/neg/t0653.scala new file mode 100644 index 0000000000..156aa2d701 --- /dev/null +++ b/test/pending/neg/t0653.scala @@ -0,0 +1,6 @@ +class InL[A, B] +class Fix[Op[A]](x : Op[Fix[Op]]) + +class FixTest { + val zero = new Fix(new InL) +} -- cgit v1.2.3