From 83d3f475da9ab4db3bb35613639e55008b39b495 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 10 Mar 2008 12:00:03 +0000 Subject: 1. 2. Added * operator to RichString 3. changed zip in Array to accept arrays of different length 4. changed takeWhile/dropWhile in Array to yield Projections 5. Added Manifest types --- test/pending/neg/t0513.scala | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/pending/neg/t0513.scala (limited to 'test/pending/neg/t0513.scala') diff --git a/test/pending/neg/t0513.scala b/test/pending/neg/t0513.scala new file mode 100644 index 0000000000..0082b0e563 --- /dev/null +++ b/test/pending/neg/t0513.scala @@ -0,0 +1,6 @@ +object Test { + case class Y[T1, T2 <: T1] + //val test = Y[Nothing, Int] // Compiler error + case class Test[T] + val test2 = Test[Y[Nothing, Int]] // No error +} -- cgit v1.2.3