summaryrefslogtreecommitdiff
path: root/test/files/neg/t997.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t997.scala')
-rw-r--r--test/files/neg/t997.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/t997.scala b/test/files/neg/t997.scala
index 42b46174d6..e8d10f4317 100644
--- a/test/files/neg/t997.scala
+++ b/test/files/neg/t997.scala
@@ -3,7 +3,7 @@ object Foo { def unapply(x : String) = Some(Pair(x, x)) }
object Test extends App {
-// Prints 'x'; ought not to compile (or maybe a should be the Pair?).
+// Prints '(x, x)'. Should compile as per SI-6111.
"x" match { case Foo(a) => Console.println(a) }
// Prints '(x,x)' as expected.