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 2ab277a commit d5828c2Copy full SHA for d5828c2
library/src-scala3/scala/StagedTuple.scala
@@ -208,7 +208,7 @@ object StagedTuple {
208
that
209
case Some(1) =>
210
if (thatSize.contains(0)) self
211
- else stagedCons(that, self.as[Tuple1[_]], thatSize)
+ else stagedCons(that, '((~self).asInstanceOf[Tuple1[_]]._1), thatSize)
212
case Some(2) =>
213
val self2 = self.as[Tuple2[_, _]]
214
thatSize match {
library/src-scala3/scala/Tuple.scala
@@ -26,7 +26,7 @@ object Tuple {
26
inline val $MaxSpecialized = 22
27
inline private val XXL = $MaxSpecialized + 1
28
29
- final val specialize = false
+ final val specialize = true
30
31
type Head[+X <: NonEmptyTuple] = X match {
32
case x *: _ => x
0 commit comments