aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-06-19 14:13:26 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-06-19 16:48:50 +0200
commitb71650f367a97536a2fbb6ecaae0e046651ae9f5 (patch)
treee07b9104ae20937315ec292337220813e979f9bb /tests/pending/run
parent7269b37ce4a5db902513ee96678823a6921a4593 (diff)
downloaddotty-b71650f367a97536a2fbb6ecaae0e046651ae9f5.tar.gz
dotty-b71650f367a97536a2fbb6ecaae0e046651ae9f5.tar.bz2
dotty-b71650f367a97536a2fbb6ecaae0e046651ae9f5.zip
Fix wrong test in PatMat.
Call drop method directly if class derives from sequence. I do not understand how callRuntime works in scalac. Calling this method requires implicit search.
Diffstat (limited to 'tests/pending/run')
-rw-r--r--tests/pending/run/t889.check1
-rw-r--r--tests/pending/run/t889.scala9
2 files changed, 0 insertions, 10 deletions
diff --git a/tests/pending/run/t889.check b/tests/pending/run/t889.check
deleted file mode 100644
index 67ca2bf46..000000000
--- a/tests/pending/run/t889.check
+++ /dev/null
@@ -1 +0,0 @@
-first: a, rest: List()
diff --git a/tests/pending/run/t889.scala b/tests/pending/run/t889.scala
deleted file mode 100644
index 8e5d82412..000000000
--- a/tests/pending/run/t889.scala
+++ /dev/null
@@ -1,9 +0,0 @@
-object Test extends dotty.runtime.LegacyApp {
-
- val a = List("a")
-
- a match {
- case Seq("a", "b", rest : _*) => println("a, b, " + rest)
- case Seq(first, rest : _*) => println("first: " + first + ", rest: " + rest)
- }
-}