diff options
author | Martin Odersky <odersky@gmail.com> | 2008-03-10 12:00:03 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2008-03-10 12:00:03 +0000 |
commit | 83d3f475da9ab4db3bb35613639e55008b39b495 (patch) | |
tree | 9af5d7b4b8d8ffc79344599026a988caf7becaef /test/pending/neg | |
parent | 82953600481e3fa2238b897adb20d3fa7503c108 (diff) | |
download | scala-83d3f475da9ab4db3bb35613639e55008b39b495.tar.gz scala-83d3f475da9ab4db3bb35613639e55008b39b495.tar.bz2 scala-83d3f475da9ab4db3bb35613639e55008b39b495.zip |
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
Diffstat (limited to 'test/pending/neg')
-rw-r--r-- | test/pending/neg/t0513.scala | 6 |
1 files changed, 6 insertions, 0 deletions
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 +} |