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.
val (a,b) = (1,2,3)
1 |val (a,b) = (1,2,3) | ^ |this case is unreachable since type (Int, Int, Int) is not a subclass of class Tuple2
and Scala2 gives:
constructor cannot be instantiated to expected type; found : (T1, T2) required: (Int, Int, Int)