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 1f6fc97 commit 48d2349Copy full SHA for 48d2349
library/src/scala/Tuple.scala
@@ -13,7 +13,8 @@ sealed trait Tuple extends Product {
13
14
/** Create a copy this tuple as a List */
15
inline def toList: List[Union[this.type]] =
16
- toArray.toList.asInstanceOf[List[Union[this.type]]]
+ this.productIterator.toList
17
+ .asInstanceOf[List[Union[this.type]]]
18
19
/** Create a copy this tuple as an IArray */
20
inline def toIArray: IArray[Object] =
0 commit comments