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 afe3bd4 commit e908ff4Copy full SHA for e908ff4
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