diff options
author | Paul Phillips <paulp@improving.org> | 2011-07-03 19:52:51 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-07-03 19:52:51 +0000 |
commit | d858fc14ad79b9c8bbe066aec70ded8fa62b0275 (patch) | |
tree | 2dad390100ee9025b0f5445af6ba032dddb0fee5 /test/files/run/repl-paste.check | |
parent | 835be39b534accb0d341d0629662f5685ae2cfef (diff) | |
download | scala-d858fc14ad79b9c8bbe066aec70ded8fa62b0275.tar.gz scala-d858fc14ad79b9c8bbe066aec70ded8fa62b0275.tar.bz2 scala-d858fc14ad79b9c8bbe066aec70ded8fa62b0275.zip |
Logic bug in repl :paste parsing, no review.
Diffstat (limited to 'test/files/run/repl-paste.check')
-rw-r--r-- | test/files/run/repl-paste.check | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/files/run/repl-paste.check b/test/files/run/repl-paste.check index 50589433cd..d3e171fbfb 100644 --- a/test/files/run/repl-paste.check +++ b/test/files/run/repl-paste.check @@ -5,17 +5,17 @@ scala> :paste // Entering paste mode (ctrl-D to finish) - class Dingus - { - private val x = 5 - def y = Dingus.x * 2 - } - object Dingus - { - private val x = 55 - } - - val x = (new Dingus).y +class Dingus +{ + private val x = 5 + def y = Dingus.x * 2 +} +object Dingus +{ + private val x = 55 +} + +val x = (new Dingus).y // Exiting paste mode, now interpreting. |