diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2010-02-26 09:42:50 +0000 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2010-02-26 09:42:50 +0000 |
commit | 93f8dd3a4ee6b16221f77c19c0589154f83507b9 (patch) | |
tree | 20011037e2030706534d07d48987225870b6f2a7 /test/files/pos/t2956/t2956.scala | |
parent | cc9e8eda3364dcb7bf5b92a3d3824b66c85ef05f (diff) | |
download | scala-93f8dd3a4ee6b16221f77c19c0589154f83507b9.tar.gz scala-93f8dd3a4ee6b16221f77c19c0589154f83507b9.tar.bz2 scala-93f8dd3a4ee6b16221f77c19c0589154f83507b9.zip |
closes #2956
the problem was that corresponds on Seq's does not check length of
sequences before testing the predicate, whereas in some cases that
predicate relied on this invariant (when it was doing substitution)
Diffstat (limited to 'test/files/pos/t2956/t2956.scala')
-rwxr-xr-x | test/files/pos/t2956/t2956.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/t2956/t2956.scala b/test/files/pos/t2956/t2956.scala new file mode 100755 index 0000000000..eb6e817465 --- /dev/null +++ b/test/files/pos/t2956/t2956.scala @@ -0,0 +1,7 @@ +import scala.collection.JavaConversions._ + +class Outer { + protected class Inner extends BeanDefinitionVisitor { + protected def visitMap(mapVal: Map[_, _]): Unit = () + } +}
\ No newline at end of file |