diff options
Diffstat (limited to 'test/files/run/repl-colon-type.check')
-rw-r--r-- | test/files/run/repl-colon-type.check | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/test/files/run/repl-colon-type.check b/test/files/run/repl-colon-type.check index 002316fd54..1f6d3e2b39 100644 --- a/test/files/run/repl-colon-type.check +++ b/test/files/run/repl-colon-type.check @@ -1,8 +1,6 @@ Type in expressions to have them evaluated. Type :help for more information. -scala> - scala> :type List[1, 2, 3] <console>:1: error: identifier expected but integer literal found. List[1, 2, 3] @@ -40,7 +38,7 @@ Int scala> :type protected lazy val f = 5 <console>:5: error: lazy value f cannot be accessed in object $iw Access to protected value f not permitted because - enclosing object $eval in package $line13 is not a subclass of + enclosing object $eval in package $line13 is not a subclass of object $iw where target is defined lazy val $result = f ^ @@ -80,7 +78,7 @@ TypeRef( TypeRef( TypeSymbol( sealed abstract class List[+A] extends AbstractSeq[A] with LinearSeq[A] with Product with GenericTraversableTemplate[A,List] with LinearSeqOptimized[A,List[A]] with Serializable - + ) args = List( TypeRef(TypeSymbol(final abstract class Int extends AnyVal)) @@ -101,7 +99,7 @@ PolyType( resultType = TypeRef( TypeSymbol( abstract trait Set[A] extends Iterable[A] with Set[A] with GenericSetTemplate[A,scala.collection.immutable.Set] with SetLike[A,scala.collection.immutable.Set[A]] with Parallelizable[A,scala.collection.parallel.immutable.ParSet[A]] - + ) args = List(TypeRef(TypeSymbol(abstract class Any extends ))) ) @@ -147,7 +145,7 @@ TypeRef( TypeRef( TypeSymbol( sealed abstract class List[+A] extends AbstractSeq[A] with LinearSeq[A] with Product with GenericTraversableTemplate[A,List] with LinearSeqOptimized[A,List[A]] with Serializable - + ) args = List( TypeRef( @@ -180,7 +178,7 @@ PolyType( TypeRef( TypeSymbol( sealed abstract class List[+A] extends AbstractSeq[A] with LinearSeq[A] with Product with GenericTraversableTemplate[A,List] with LinearSeqOptimized[A,List[A]] with Serializable - + ) args = List(TypeParamTypeRef(TypeParam(T <: AnyVal))) ) @@ -203,7 +201,7 @@ PolyType( resultType = TypeRef( TypeSymbol( sealed abstract class List[+A] extends AbstractSeq[A] with LinearSeq[A] with Product with GenericTraversableTemplate[A,List] with LinearSeqOptimized[A,List[A]] with Serializable - + ) args = List(TypeParamTypeRef(TypeParam(U >: T))) ) @@ -221,5 +219,3 @@ scala> :type println("side effect!") Unit scala> - -scala> |