From b27c9b84be1d63e86ca20063e9c0f3c9386b0be2 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Thu, 21 Nov 2013 17:24:57 +0100 Subject: SI-6329 Graduation day for pending tests for tag materialization Two kids in the class or '6329 had to repeat the senior year, but with a little help from 76b92ef, they've finally graduated. Here's the class photo: commit 3e855661136bb6c530ef1d3a24dc83800e7f1134 Author: Eugene Burmako Date: Thu Sep 6 22:19:56 2012 +0200 test suite for SI-6329 test/files/run/t6329_repl.check | 13 +++++++++++++ test/files/run/t6329_repl.scala | 8 ++++++++ test/files/run/t6329_repl_bug.check | 13 +++++++++++++ test/files/run/t6329_repl_bug.pending | 10 ++++++++++ test/files/run/t6329_vanilla.check | 2 ++ test/files/run/t6329_vanilla.scala | 4 ++++ test/files/run/t6329_vanilla_bug.check | 2 ++ test/files/run/t6329_vanilla_bug.pending | 7 +++++++ 8 files changed, 59 insertions(+) --- test/files/run/t6329_repl_bug.check | 17 +++++++++++++++++ test/files/run/t6329_repl_bug.pending | 10 ---------- test/files/run/t6329_repl_bug.scala | 10 ++++++++++ test/files/run/t6329_vanilla_bug.check | 3 +++ test/files/run/t6329_vanilla_bug.pending | 7 ------- test/files/run/t6329_vanilla_bug.scala | 7 +++++++ 6 files changed, 37 insertions(+), 17 deletions(-) create mode 100644 test/files/run/t6329_repl_bug.check delete mode 100644 test/files/run/t6329_repl_bug.pending create mode 100644 test/files/run/t6329_repl_bug.scala create mode 100644 test/files/run/t6329_vanilla_bug.check delete mode 100644 test/files/run/t6329_vanilla_bug.pending create mode 100644 test/files/run/t6329_vanilla_bug.scala diff --git a/test/files/run/t6329_repl_bug.check b/test/files/run/t6329_repl_bug.check new file mode 100644 index 0000000000..44c41cfd03 --- /dev/null +++ b/test/files/run/t6329_repl_bug.check @@ -0,0 +1,17 @@ +Type in expressions to have them evaluated. +Type :help for more information. + +scala> import scala.reflect.runtime.universe._ +import scala.reflect.runtime.universe._ + +scala> import scala.reflect.runtime._ +import scala.reflect.runtime._ + +scala> classManifest[List[_]] +warning: there were 1 deprecation warning(s); re-run with -deprecation for details +res0: scala.reflect.ClassTag[List[_]] = scala.collection.immutable.List[] + +scala> scala.reflect.classTag[List[_]] +res1: scala.reflect.ClassTag[List[_]] = scala.collection.immutable.List + +scala> diff --git a/test/files/run/t6329_repl_bug.pending b/test/files/run/t6329_repl_bug.pending deleted file mode 100644 index 9997d1771e..0000000000 --- a/test/files/run/t6329_repl_bug.pending +++ /dev/null @@ -1,10 +0,0 @@ -import scala.tools.partest.ReplTest - -object Test extends ReplTest { - def code = """ - |import scala.reflect.runtime.universe._ - |import scala.reflect.runtime._ - |classManifest[List[_]] - |scala.reflect.classTag[List[_]] - |""".stripMargin -} diff --git a/test/files/run/t6329_repl_bug.scala b/test/files/run/t6329_repl_bug.scala new file mode 100644 index 0000000000..9997d1771e --- /dev/null +++ b/test/files/run/t6329_repl_bug.scala @@ -0,0 +1,10 @@ +import scala.tools.partest.ReplTest + +object Test extends ReplTest { + def code = """ + |import scala.reflect.runtime.universe._ + |import scala.reflect.runtime._ + |classManifest[List[_]] + |scala.reflect.classTag[List[_]] + |""".stripMargin +} diff --git a/test/files/run/t6329_vanilla_bug.check b/test/files/run/t6329_vanilla_bug.check new file mode 100644 index 0000000000..640d168a8a --- /dev/null +++ b/test/files/run/t6329_vanilla_bug.check @@ -0,0 +1,3 @@ +warning: there were 1 deprecation warning(s); re-run with -deprecation for details +scala.collection.immutable.List[] +scala.collection.immutable.List diff --git a/test/files/run/t6329_vanilla_bug.pending b/test/files/run/t6329_vanilla_bug.pending deleted file mode 100644 index 404f90bf6e..0000000000 --- a/test/files/run/t6329_vanilla_bug.pending +++ /dev/null @@ -1,7 +0,0 @@ -import scala.reflect.runtime.universe._ -import scala.reflect.runtime._ - -object Test extends App { - println(classManifest[List[_]]) - println(scala.reflect.classTag[List[_]]) -} \ No newline at end of file diff --git a/test/files/run/t6329_vanilla_bug.scala b/test/files/run/t6329_vanilla_bug.scala new file mode 100644 index 0000000000..404f90bf6e --- /dev/null +++ b/test/files/run/t6329_vanilla_bug.scala @@ -0,0 +1,7 @@ +import scala.reflect.runtime.universe._ +import scala.reflect.runtime._ + +object Test extends App { + println(classManifest[List[_]]) + println(scala.reflect.classTag[List[_]]) +} \ No newline at end of file -- cgit v1.2.3