summaryrefslogtreecommitdiff
path: root/test/files/run/t8190.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2014-02-17 19:35:17 +0100
committerEugene Burmako <xeno.by@gmail.com>2014-02-18 09:23:38 +0100
commit00283e6d8dfb9d884e9598b96fb7b3b5f5600ee3 (patch)
tree8253a467fdefb0179f90dce49ecaa437daf9ed6c /test/files/run/t8190.scala
parentafecfe90cd98a657ce83f3e833c940518563064e (diff)
downloadscala-00283e6d8dfb9d884e9598b96fb7b3b5f5600ee3.tar.gz
scala-00283e6d8dfb9d884e9598b96fb7b3b5f5600ee3.tar.bz2
scala-00283e6d8dfb9d884e9598b96fb7b3b5f5600ee3.zip
makes sure compat._ provides full compatibility with 2.10.x
This is extremely important to enable cross-versioning Scala 2.10 codebases against Scala 2.11 using Jason's trick with: // TODO 2.11 Remove this after dropping 2.10.x support. private object HasCompat { val compat = ??? }; import HasCompat._ def impl(c: Context)(...): ... = { import c.universe._ import compat._ ... }
Diffstat (limited to 'test/files/run/t8190.scala')
-rw-r--r--test/files/run/t8190.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/run/t8190.scala b/test/files/run/t8190.scala
index d61fa8c01c..17ff83c714 100644
--- a/test/files/run/t8190.scala
+++ b/test/files/run/t8190.scala
@@ -113,6 +113,7 @@ object Test extends App with Overloads {
types = types.filter(_ != "Importer") // deprecated
types = types.filter(_ != "Internal") // internal
types = types.filter(_ != "Compat") // internal
+ types = types.filter(_ != "BuildApi") // deprecated
val diff = types.toList diff buf.toList
println("uncovered type members: " + diff)
}