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 66a2cbf commit e5c9790Copy full SHA for e5c9790
library/src-bootstrapped/scala/quoted/Expr.scala
@@ -148,7 +148,7 @@ object Expr {
148
149
/** Lifts the Map the keys and values of which are expressions into an expression of Map. */
150
def ofMapKeyValues[K: Type, V: Type](m: Map[Expr[K], Expr[V]])(
151
- using QuoteContext): Expr[Map[K, V]] =
+ using QuoteContext): Expr[Map[K, V]] =
152
val keys: Expr[List[K]] = Expr.ofList(m.keys.toList)
153
val values: Expr[List[V]] = Expr.ofList(m.values.toList)
154
'{ ${ keys }.zip(${ values }).toMap }
0 commit comments