diff options
author | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-11-22 22:35:23 +0000 |
---|---|---|
committer | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-11-22 22:35:23 +0000 |
commit | 21749978ee131a02b1a0cddd3d349f6548edaaa1 (patch) | |
tree | 4b712aaca226210bceebfdbac38d36c265e57e3d /test | |
parent | be91cd08be3590f6cdbb9356b4d093725d5e06ff (diff) | |
download | scala-21749978ee131a02b1a0cddd3d349f6548edaaa1.tar.gz scala-21749978ee131a02b1a0cddd3d349f6548edaaa1.tar.bz2 scala-21749978ee131a02b1a0cddd3d349f6548edaaa1.zip |
Fix for #1371.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/neg/t1371.check | 4 | ||||
-rw-r--r-- | test/files/neg/t1371.scala | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/t1371.check b/test/files/neg/t1371.check new file mode 100644 index 0000000000..f2e9ffebe8 --- /dev/null +++ b/test/files/neg/t1371.check @@ -0,0 +1,4 @@ +t1371.scala:1: error: unbound wildcard type +trait A[T <: (_)] + ^ +one error found diff --git a/test/files/neg/t1371.scala b/test/files/neg/t1371.scala new file mode 100644 index 0000000000..4ad84a9d5c --- /dev/null +++ b/test/files/neg/t1371.scala @@ -0,0 +1,2 @@ +trait A[T <: (_)] + |