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.
2 parents e1166a0 + 26abf4c commit faa55eeCopy full SHA for faa55ee
library/src-bootstrapped/scala/quoted/Expr.scala
@@ -236,15 +236,4 @@ object Expr {
236
}
237
238
239
- object StringContext {
240
- /** Matches a `StringContext(part0, part1, ...)` and extracts the parts of a call to if the
241
- * parts are passed explicitly. Returns the equvalent to `Seq('{part0}, '{part1}, ...)`.
242
- */
243
- def unapply(sc: Expr[StringContext])(using Quotes): Option[Seq[Expr[String]]] =
244
- sc match
245
- case '{ scala.StringContext(${Varargs(parts)}: _*) } => Some(parts)
246
- case '{ new scala.StringContext(${Varargs(parts)}: _*) } => Some(parts)
247
- case _ => None
248
- }
249
-
250
0 commit comments