Skip to content

Commit b1977cb

Browse files
author
Antoine Brunner
committed
Remove unintentionnal comments
1 parent 025e91f commit b1977cb

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

library/src/scala/runtime/DynamicTuple.scala

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -466,23 +466,6 @@ object DynamicTuple {
466466
res.asInstanceOf[Result]
467467
}
468468

469-
// def dynamicMap[This <: Tuple, F[_]](self: This, f: [t] => t => F[t]): Map[This, F] = {
470-
// type Result = Map[This, F]
471-
// (self: Any) match {
472-
// case xxl: TupleXXL =>
473-
// TupleXXL.fromIArray(
474-
// xxl.elems.asInstanceOf[Array[Object]].map(f[Object]).asInstanceOf[IArray[Object]]
475-
// ).asInstanceOf[Result]
476-
// case _ =>
477-
// specialCaseMap(self, f)
478-
// }
479-
// }
480-
481-
// def dynamicMap[This <: Tuple, F[_]](self: This, f: [t] => t => F[t]): Map[This, F] = {
482-
// type Result = Map[This, F]
483-
// dynamicFromIArray[Result](dynamicToIArray(self).asInstanceOf[Array[Object]].map(f[Object]).asInstanceOf[IArray[Object]])
484-
// }
485-
486469
def dynamicMap[This <: Tuple, F[_]](self: This, f: [t] => t => F[t]): Map[This, F] = (self: Any) match {
487470
case self: Unit => ().asInstanceOf[Map[This, F]]
488471
case _ =>

0 commit comments

Comments
 (0)