diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-04-05 19:20:44 +0200 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-04-12 11:31:14 +0200 |
commit | 0ee99771cf12c059f79ef0b9eb7b6e2bd09da942 (patch) | |
tree | f8083d38eb4207810691ced61617deb9bc5608cd /tests/run/shortClass.scala | |
parent | 95732a3576feb477fda74d11907878b808c9bc66 (diff) | |
download | dotty-0ee99771cf12c059f79ef0b9eb7b6e2bd09da942.tar.gz dotty-0ee99771cf12c059f79ef0b9eb7b6e2bd09da942.tar.bz2 dotty-0ee99771cf12c059f79ef0b9eb7b6e2bd09da942.zip |
Disable scalac internals tests
Diffstat (limited to 'tests/run/shortClass.scala')
-rw-r--r-- | tests/run/shortClass.scala | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/run/shortClass.scala b/tests/run/shortClass.scala deleted file mode 100644 index c5c2043f4..000000000 --- a/tests/run/shortClass.scala +++ /dev/null @@ -1,26 +0,0 @@ -import scala.reflect.internal.util._ - -package bippity { - trait DingDongBippy - - package bop { - class Foo { - class Bar - object Bar - } - } -} - -object Test { - import bippity._ - import bop._ - - def printSanitized(x: String) = println(x.filterNot(_.isDigit)) - - def main(args: Array[String]): Unit = { - val f = new Foo - val instances = List(f, new f.Bar, f.Bar, new Foo with DingDongBippy, new f.Bar with DingDongBippy) - instances map (_.getClass.getName) foreach printSanitized - instances map shortClassOfInstance foreach printSanitized - } -} |