We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aab688e commit fda12abCopy full SHA for fda12ab
library/src/scala/internal/quoted/Matcher.scala
@@ -476,20 +476,6 @@ private[quoted] object Matcher {
476
case _ => None
477
}
478
479
- /** Is this matching the result of a successful match */
480
- def (self: Matching) isMatch: Boolean = self.isDefined
481
-
482
- /** Joins the mattchings into a single matching. If any matching is `None` the result is `None`.
483
- * Otherwise the result is `Some` of the concatenation of the tupples.
484
- */
485
- def foldMatchings(matchings: Matching*): Matching = {
486
- // TODO improve performance
487
- matchings.foldLeft[Matching](Some(())) {
488
- case (Some(acc), Some(holes)) => Some(acc ++ holes)
489
- case (_, _) => None
490
- }
491
492
493
494
495
0 commit comments