aboutsummaryrefslogtreecommitdiff
path: root/test/test/showClass.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-03-25 21:45:20 +0100
committerMartin Odersky <odersky@gmail.com>2013-03-25 21:45:20 +0100
commit5a039031c165fd9116749f28e9d9e6a0b6d5b0e6 (patch)
tree0a0b956ad7d384cf31a8d2b7835fe716c33d2834 /test/test/showClass.scala
parent27a508c50482f4053591ed740f09ecced5bf749b (diff)
downloaddotty-5a039031c165fd9116749f28e9d9e6a0b6d5b0e6.tar.gz
dotty-5a039031c165fd9116749f28e9d9e6a0b6d5b0e6.tar.bz2
dotty-5a039031c165fd9116749f28e9d9e6a0b6d5b0e6.zip
More fixes to classfile reading.
Can now read entire contents of scala distribution.
Diffstat (limited to 'test/test/showClass.scala')
-rw-r--r--test/test/showClass.scala13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/test/showClass.scala b/test/test/showClass.scala
new file mode 100644
index 000000000..d2c118f5d
--- /dev/null
+++ b/test/test/showClass.scala
@@ -0,0 +1,13 @@
+package test
+
+import dotty.tools.dotc.core.Decorators._
+
+object showClass extends ShowClassTests {
+
+ def main(args: Array[String]) = {
+ for (arg <- args) showPackage(ctx.requiredPackage(arg))
+// showClasses("scala.tools.jline.console.history.MemoryHistory")
+ showPackage("scala")
+ println("done")
+ }
+}