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 b35f6a6 commit 2e8fa8dCopy full SHA for 2e8fa8d
tests/run-macros/i6253-c.check
tests/run-macros/i6253-c/quoted_1.scala
@@ -8,14 +8,10 @@ object Macros {
8
9
private def impl(self: Expr[StringContext], args: Expr[Seq[String]])(using QuoteContext): Expr[String] = {
10
self match {
11
- case '{ StringContext($parts: _*) } =>
12
- '{
13
- val p: Seq[String] = $parts
14
- val a: Seq[Any] = $args ++ Seq("")
15
- p.zip(a).map(_ + _.toString).mkString
16
- }
+ case '{ StringContext($parts: _*) } => // Should not match as the parameter is not marked as inlined
+ '{ ??? }
17
case _ =>
18
- '{ "ERROR" }
+ '{ "Ok" }
19
}
20
21
0 commit comments