Skip to content

Commit 0387869

Browse files
committed
fix
1 parent 98692f8 commit 0387869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/NamedTuple.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ object NamedTupleDecomposition:
213213
/** An immutable map consisting of all element values.
214214
* Keys are the names of the elements.
215215
*/
216-
inline def toMap: collection.Map[String, Tuple.Union[V]] =
216+
inline def toMap: collection.immutable.Map[String, Tuple.Union[V]] =
217217
summonAll[Tuple.Map[N, ValueOf]].toList
218218
.map(_.asInstanceOf[ValueOf[? <: String]].value)
219219
.lazyZip(x.toList)

0 commit comments

Comments
 (0)