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.
Elem
1 parent 194d85d commit c7ee07cCopy full SHA for c7ee07c
library/src-scala3/scala/Tuple.scala
@@ -342,7 +342,7 @@ abstract sealed class NonEmptyTuple extends Tuple {
342
343
rewrite def apply(n: Int): Elem[this.type, n.type] = {
344
type Result = Elem[this.type, n.type]
345
- rewrite constValueOpt[BoundedSize[this.type]] match {
+ rewrite constValueOpt[Size[this.type]] match {
346
case Some(1) =>
347
val t = asInstanceOf[Tuple1[_]]
348
rewrite constValueOpt[n.type] match {
0 commit comments