Skip to content

Commit fda12ab

Browse files
committed
Remove dead code
1 parent aab688e commit fda12ab

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

library/src/scala/internal/quoted/Matcher.scala

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -476,20 +476,6 @@ private[quoted] object Matcher {
476476
case _ => None
477477
}
478478

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-
493479
}
494480

495481
}

0 commit comments

Comments
 (0)