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
Refine bind tuple pattern typing for named tuples (#23380)
```scala
ef getNamedTuple: (x: Int, y: String) = (x = 42, y = "Hello")
getNamedTuple match
case t @ (a, b) =>
// Although the pattern is a regular tuple, we are not able to call `._i` on t
t._1 // error, _1 is not a member of named tuple
```
0 commit comments