diff options
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 ce43875c36..3c0ee7b4bd 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>:6: error: type mismatch; +scala> <console>:8: 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>:16: warning: match is not exhaustive! +scala> | | <console>:18: warning: match is not exhaustive! missing combination Exp missing combination Term @@ -230,6 +230,6 @@ scala> plusOne: (x: Int)Int res0: Int = 6 res1: java.lang.String = after reset -<console>:6: error: not found: value plusOne +<console>:8: error: not found: value plusOne plusOne(5) // should be undefined now ^ |