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 c11e671 commit 3327038Copy full SHA for 3327038
library/src-bootstrapped/scala/Tuple.scala
@@ -161,7 +161,7 @@ object Tuple {
161
def apply(): EmptyTuple = scala.runtime.Tuple0.asInstanceOf[EmptyTuple]
162
163
/** Matches an empty tuple. */
164
- def unapply(x: EmptyTuple): Boolean = x == scala.runtime.Tuple0
+ def unapply(x: EmptyTuple): true = true
165
166
/** Convert an array into a tuple of unknown arity and types */
167
def fromArray[T](xs: Array[T]): Tuple = {
0 commit comments