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/jvm/interpreter.check | |
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/jvm/interpreter.check')
-rw-r--r-- | test/files/jvm/interpreter.check | 6 |
1 files changed, 3 insertions, 3 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 ^ |