Skip to content

Commit e908ff4

Browse files
committed
fix
1 parent afe3bd4 commit e908ff4

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)