diff options
author | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2014-02-25 13:50:19 +0100 |
---|---|---|
committer | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2014-02-25 13:50:19 +0100 |
commit | 1ea43ffb2286d63e133839c1ea0b09449b0ac168 (patch) | |
tree | 2d003de0ec0e2687eaef214d65e46922b9e86264 /test/files/scalacheck/quasiquotes/TypecheckedProps.scala | |
parent | 7c709e122f7471353749525cff15602783fb348c (diff) | |
parent | 12dc4a28da8d3631734603c896d2ee1ba21b31d6 (diff) | |
download | scala-1ea43ffb2286d63e133839c1ea0b09449b0ac168.tar.gz scala-1ea43ffb2286d63e133839c1ea0b09449b0ac168.tar.bz2 scala-1ea43ffb2286d63e133839c1ea0b09449b0ac168.zip |
Merge pull request #3566 from adriaanm/t6455
SI-6455 no longer rewrite .withFilter to .filter
Diffstat (limited to 'test/files/scalacheck/quasiquotes/TypecheckedProps.scala')
-rw-r--r-- | test/files/scalacheck/quasiquotes/TypecheckedProps.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/scalacheck/quasiquotes/TypecheckedProps.scala b/test/files/scalacheck/quasiquotes/TypecheckedProps.scala index 432c0959c9..7c4cb0306e 100644 --- a/test/files/scalacheck/quasiquotes/TypecheckedProps.scala +++ b/test/files/scalacheck/quasiquotes/TypecheckedProps.scala @@ -44,7 +44,7 @@ object TypecheckedProps extends QuasiquoteProperties("typechecked") { val enums = fq"foo <- new Foo" :: fq"if foo != null" :: Nil val body = q"foo" val q"$_; for(..$enums1) yield $body1" = typecheck(q""" - class Foo { def map(f: Any => Any) = this; def filter(cond: Any => Boolean) = this } + class Foo { def map(f: Any => Any) = this; def withFilter(cond: Any => Boolean) = this } for(..$enums) yield $body """) assert(enums1 ≈ enums) |