summaryrefslogtreecommitdiff
path: root/test/files/run/t9170.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t9170.scala')
-rw-r--r--test/files/run/t9170.scala4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/files/run/t9170.scala b/test/files/run/t9170.scala
index 67a58d6803..d6cf516615 100644
--- a/test/files/run/t9170.scala
+++ b/test/files/run/t9170.scala
@@ -6,9 +6,7 @@ object Test extends SessionTest {
override def stripMargins = false
def session =
-"""Type in expressions to have them evaluated.
-Type :help for more information.
-
+"""
scala> object Y { def f[A](a: => A) = 1 ; def f[A](a: => Either[Exception, A]) = 2 }
<console>:10: error: double definition:
def f[A](a: => A): Int at line 10 and