scala3
scala3 copied to clipboard
Discrepancy in signature of `Tuple.splitAt` between api website and implementation
(Also on 3.2.0) https://dotty.epfl.ch/api/scala/Tuple.html# Displays:
inline def splitAt[This >: Tuple <: Tuple](n: Int): (This, Int)
Whereas the signature in the implementation is:
inline def splitAt[This >: this.type <: Tuple](n: Int): Split[This, n.type]
https://github.com/lampepfl/dotty/blob/main/library/src/scala/Tuple.scala#L79