summaryrefslogtreecommitdiff
path: root/test/files/run/t6937.check
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2013-04-09 09:57:24 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2013-04-09 09:57:24 -0700
commite5cb848e6dd3afc571da75c7f7f61431c8bed27f (patch)
treea07d953593115711395a12c22ebde41b99355c34 /test/files/run/t6937.check
parent53e031f55386d131b1aaa5fb93ee1a3ac6bce646 (diff)
parent34a6fa9bb44ffd96dbb0ee59905fecf4e29879ba (diff)
downloadscala-e5cb848e6dd3afc571da75c7f7f61431c8bed27f.tar.gz
scala-e5cb848e6dd3afc571da75c7f7f61431c8bed27f.tar.bz2
scala-e5cb848e6dd3afc571da75c7f7f61431c8bed27f.zip
Merge pull request #2349 from scalamacros/ticket/6937
SI-6937 core type tags are no longer referentially unique
Diffstat (limited to 'test/files/run/t6937.check')
-rw-r--r--test/files/run/t6937.check26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/files/run/t6937.check b/test/files/run/t6937.check
new file mode 100644
index 0000000000..9a1fa4cfaf
--- /dev/null
+++ b/test/files/run/t6937.check
@@ -0,0 +1,26 @@
+Type in expressions to have them evaluated.
+Type :help for more information.
+
+scala>
+
+scala> import scala.reflect.runtime.{universe => ru}
+import scala.reflect.runtime.{universe=>ru}
+
+scala> import scala.reflect.runtime.{currentMirror => cm}
+import scala.reflect.runtime.{currentMirror=>cm}
+
+scala> import scala.reflect.api.{Universe => ApiUniverse}
+import scala.reflect.api.{Universe=>ApiUniverse}
+
+scala> class A
+defined class A
+
+scala> lazy val apiru = ru: ApiUniverse
+apiru: scala.reflect.api.Universe = <lazy>
+
+scala> apiru.typeTag[A].in(cm)
+res0: reflect.runtime.universe.TypeTag[A] = TypeTag[A]
+
+scala>
+
+scala>