summaryrefslogtreecommitdiff
path: root/test/files/neg/array-not-seq.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/array-not-seq.scala')
-rw-r--r--test/files/neg/array-not-seq.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/array-not-seq.scala b/test/files/neg/array-not-seq.scala
index 07a2898d88..5f367bdd85 100644
--- a/test/files/neg/array-not-seq.scala
+++ b/test/files/neg/array-not-seq.scala
@@ -9,9 +9,9 @@ object Test {
case _: Array[_] => true
case _ => false
}
-
+
def f4(x: Any) = x.isInstanceOf[Traversable[_]]
-
+
def f5(x1: Any, x2: Any, x3: AnyRef) = (x1, x2, x3) match {
case (Some(_: Seq[_]), Nil, _) => 1
case (None, List(_: List[_], _), _) => 2