You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deftupleApp(tuple: Type, i: Int, receiver: Tree) =// manually inlining the call to NonEmptyTuple#apply, because it's an inline method
332
+
deftupleApp(i: Int, receiver: Tree) =// manually inlining the call to NonEmptyTuple#apply, because it's an inline method
333
333
ref(defn.RuntimeTuplesModule)
334
334
.select(defn.RuntimeTuples_apply)
335
335
.appliedTo(receiver, Literal(Constant(i)))
336
-
.cast(tuple.tupleElementTypes.applyOrElse(i, (_: Int) =>NoType).ensuring(_ !=NoType, i"Failed to find type at index $i in $tuple (${tree.sourcePos})"))
337
336
338
337
if (isSyntheticScala2Unapply(unapp.symbol) && caseAccessors.length == args.length)
0 commit comments