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
$ dotr
Starting dotty REPL...
scala> val pf1: PartialFunction[AnyVal, Int] = { case n: Int => n }
1 |val pf1: PartialFunction[AnyVal, Int] = { case n: Int => n }
| ^
| this case is unreachable since type A1 and class Integer are unrelated
scala>