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 d214141 commit 5969614Copy full SHA for 5969614
library/src-3.x/dotty/internal/StringContextMacro.scala
@@ -60,7 +60,7 @@ object StringContextMacro {
60
*/
61
private def literalToString(expression : Expr[String])(implicit reflect: Reflection) : String = expression match {
62
case Const(string : String) => string
63
- case _ => QuoteError("Expected statically known part list", expression)
+ case _ => QuoteError("Expected statically known literal", expression)
64
}
65
66
/** Retrieves the parts from a StringContext, given inside an Expr, and returns them as a list of Expr of String
0 commit comments