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 98692f8 commit 0387869Copy full SHA for 0387869
library/src/scala/NamedTuple.scala
@@ -213,7 +213,7 @@ object NamedTupleDecomposition:
213
/** An immutable map consisting of all element values.
214
* Keys are the names of the elements.
215
*/
216
- inline def toMap: collection.Map[String, Tuple.Union[V]] =
+ inline def toMap: collection.immutable.Map[String, Tuple.Union[V]] =
217
summonAll[Tuple.Map[N, ValueOf]].toList
218
.map(_.asInstanceOf[ValueOf[? <: String]].value)
219
.lazyZip(x.toList)
0 commit comments