diff options
Diffstat (limited to 'test/files/run/reflection-java-crtp.check')
-rw-r--r-- | test/files/run/reflection-java-crtp.check | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/test/files/run/reflection-java-crtp.check b/test/files/run/reflection-java-crtp.check index 9fd305a7af..3e5a77e93a 100644 --- a/test/files/run/reflection-java-crtp.check +++ b/test/files/run/reflection-java-crtp.check @@ -1,25 +1 @@ -Type in expressions to have them evaluated.
-Type :help for more information.
-
-scala>
-
-scala> import scala.reflect.runtime.universe._
-import scala.reflect.runtime.universe._
-
-scala> val enum = typeOf[SimpleEnumeration].baseClasses(1).asClass
-enum: reflect.runtime.universe.ClassSymbol = class Enum
-
-scala> // make sure that the E's in Enum<E extends Enum<E>> are represented by the same symbol
-
-scala> val e1 = enum.typeParams(0).asType
-e1: reflect.runtime.universe.TypeSymbol = type E
-
-scala> val TypeBounds(_, TypeRef(_, _, List(TypeRef(_, e2: TypeSymbol, _)))) = e1.typeSignature
-e2: reflect.runtime.universe.TypeSymbol = type E
-
-scala> println(e1 eq e2)
-true
-
-scala>
-
-scala>
+(type E,type E,true) |