summaryrefslogtreecommitdiff
path: root/test/files/run/repl-paste.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-07-03 19:52:51 +0000
committerPaul Phillips <paulp@improving.org>2011-07-03 19:52:51 +0000
commitd858fc14ad79b9c8bbe066aec70ded8fa62b0275 (patch)
tree2dad390100ee9025b0f5445af6ba032dddb0fee5 /test/files/run/repl-paste.scala
parent835be39b534accb0d341d0629662f5685ae2cfef (diff)
downloadscala-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.scala')
-rw-r--r--test/files/run/repl-paste.scala20
1 files changed, 10 insertions, 10 deletions
diff --git a/test/files/run/repl-paste.scala b/test/files/run/repl-paste.scala
index e2ebab1e45..5495505353 100644
--- a/test/files/run/repl-paste.scala
+++ b/test/files/run/repl-paste.scala
@@ -3,17 +3,17 @@ import scala.tools.partest.ReplTest
object Test extends ReplTest {
def code = ":paste\n" + (
"""
- class Dingus
- {
- private val x = 5
- def y = Dingus.x * 2
- }
- object Dingus
- {
- private val x = 55
- }
+class Dingus
+{
+ private val x = 5
+ def y = Dingus.x * 2
+}
+object Dingus
+{
+ private val x = 55
+}
- val x = (new Dingus).y
+val x = (new Dingus).y
"""
)
} \ No newline at end of file