summaryrefslogtreecommitdiff
path: root/test/files/run/repl-colon-type.check
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan@lightbend.com>2017-02-20 14:20:10 -0800
committerGitHub <noreply@github.com>2017-02-20 14:20:10 -0800
commit023a96afe30d04e6de771d0676b85b0889b89a37 (patch)
tree27a9342ae392a21bffad4c717f39d47bed5ac718 /test/files/run/repl-colon-type.check
parente21ab425880b7c3fa4cca3c9503045823d250025 (diff)
parent05cc3e2271d2c2226ded33bef5a03f0c70c6f66d (diff)
downloadscala-023a96afe30d04e6de771d0676b85b0889b89a37.tar.gz
scala-023a96afe30d04e6de771d0676b85b0889b89a37.tar.bz2
scala-023a96afe30d04e6de771d0676b85b0889b89a37.zip
Merge pull request #5629 from som-snytt/issue/10120-quote-err
SI-10133 Require escaped single quote char lit
Diffstat (limited to 'test/files/run/repl-colon-type.check')
-rw-r--r--test/files/run/repl-colon-type.check8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/run/repl-colon-type.check b/test/files/run/repl-colon-type.check
index 5b7a3c7506..3fdd318df6 100644
--- a/test/files/run/repl-colon-type.check
+++ b/test/files/run/repl-colon-type.check
@@ -1,8 +1,8 @@
scala> :type List[1, 2, 3]
<console>:1: error: identifier expected but integer literal found.
-List[1, 2, 3]
- ^
+ List[1, 2, 3]
+ ^
scala> :type List(1, 2, 3)
List[Int]
@@ -38,8 +38,8 @@ scala> :type protected lazy val f = 5
Access to protected lazy value f not permitted because
enclosing object $eval in package $line13 is not a subclass of
object $iw where target is defined
- lazy val $result = f
- ^
+ lazy val $result = f
+ ^
scala> :type def f = 5
=> Int