diff options
author | Paul Phillips <paulp@improving.org> | 2010-02-21 05:01:55 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-02-21 05:01:55 +0000 |
commit | 18aa7f0c8075ed543c108d99eeb10a974c3d0296 (patch) | |
tree | 0604200b3470410cdeaf75c2bc2751d7c189e669 /test/files | |
parent | 3bc73c1e1a02dc225f8723591e6d4427172478be (diff) | |
download | scala-18aa7f0c8075ed543c108d99eeb10a974c3d0296.tar.gz scala-18aa7f0c8075ed543c108d99eeb10a974c3d0296.tar.bz2 scala-18aa7f0c8075ed543c108d99eeb10a974c3d0296.zip |
Some repl cleanups and debugging conveniences.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/jvm/interpreter.check | 6 | ||||
-rw-r--r-- | test/files/run/constrained-types.check | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/files/jvm/interpreter.check b/test/files/jvm/interpreter.check index f9f0d07c04..1a6fcba5fe 100644 --- a/test/files/jvm/interpreter.check +++ b/test/files/jvm/interpreter.check @@ -19,7 +19,7 @@ scala> defined type alias anotherint scala> four: anotherint = 4 -scala> <console>:5: error: type mismatch; +scala> <console>:6: error: type mismatch; found : java.lang.String("hello") required: anotherint val bogus: anotherint = "hello" @@ -217,7 +217,7 @@ scala> defined class Exp defined class Fact defined class Term -scala> | | <console>:15: warning: match is not exhaustive! +scala> | | <console>:16: warning: match is not exhaustive! missing combination Term missing combination Exp @@ -230,6 +230,6 @@ scala> plusOne: (x: Int)Int res0: Int = 6 res1: java.lang.String = after reset -<console>:5: error: not found: value plusOne +<console>:6: error: not found: value plusOne plusOne(5) // should be undefined now ^ diff --git a/test/files/run/constrained-types.check b/test/files/run/constrained-types.check index f18ff6e3c9..cc00a7c46b 100644 --- a/test/files/run/constrained-types.check +++ b/test/files/run/constrained-types.check @@ -121,7 +121,7 @@ y: java.lang.String = hello ----- val x = 3 : Int @Annot(e+f+g+h) //should have a graceful error message -<console>:5: error: not found: value e +<console>:6: error: not found: value e val x = 3 : Int @Annot(e+f+g+h) //should have a graceful error message ^ |