summaryrefslogtreecommitdiff
path: root/test/files/run/t1195-new.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t1195-new.scala')
-rw-r--r--test/files/run/t1195-new.scala6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/files/run/t1195-new.scala b/test/files/run/t1195-new.scala
index 0f62b140c9..fcb80082a2 100644
--- a/test/files/run/t1195-new.scala
+++ b/test/files/run/t1195-new.scala
@@ -1,3 +1,5 @@
+
+import scala.language.{ existentials }
import scala.reflect.runtime.universe._
object Test {
@@ -9,7 +11,7 @@ object Test {
val g1 = g()
val h1 = h()
- def m[T: WeakTypeTag](x: T) = println(weakTypeOf[T] + ", underlying = " + weakTypeOf[T].typeSymbol.typeSignature)
+ def m[T: WeakTypeTag](x: T) = println(weakTypeOf[T] + ", underlying = " + weakTypeOf[T].typeSymbol.info)
def main(args: Array[String]): Unit = {
m(f)
@@ -25,4 +27,4 @@ class A1[T] {
class B1[U] {
def f = { case class D(x: Int) extends A1[String] ; new D(5) }
}
-} \ No newline at end of file
+}