Skip to content

Discrepancy in signature of Tuple.splitAt between api website and implementation #16084

Closed
@Sporarum

Description

@Sporarum

(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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions