diff options
author | Paul Phillips <paulp@improving.org> | 2011-02-01 08:27:02 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-02-01 08:27:02 +0000 |
commit | d59d7f928d8a71d73d198690ab5816af3be90d6b (patch) | |
tree | bd3ca5e440def1a4146402a22a9c72ce4d9cf986 /test/files/jvm/interpreter.check | |
parent | 94bb0a90131ce7f4a228274b8915afb26d64b31c (diff) | |
download | scala-d59d7f928d8a71d73d198690ab5816af3be90d6b.tar.gz scala-d59d7f928d8a71d73d198690ab5816af3be90d6b.tar.bz2 scala-d59d7f928d8a71d73d198690ab5816af3be90d6b.zip |
I keep seeing huge simplifications available in...
I keep seeing huge simplifications available in the repl. Lot of
interesting features have come to town since it was first conceived. In
this commit I give the internal names some tips on aesthetics, and put
each line in its own package like civilized artificial constructs. No
review.
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 ^ |