@edude03@NicolasRinaudo@kascakm Perhaps. I've used guards and it haven't found it aggregating. I can see it being more common in the application of Rust, though.
@NicolasRinaudo@kascakm That PR is about not widening constant types (including literal types). But ints aren't considered a sealed type, so we don't emit exhaustivity warnings for them. It's either got a default case or it's inexhaustive (unless you have 2^64 cases).
@eed3si9n This so much!
Have you found fixing the dynamic dispatch semantics to be impossible? Seems like choosing between inheritance vs c++ templates, btw. 😃
@Daenyth @kubukoz Appreciated! You'll have to explain more about non-exhaustive matches though, because there are no big regressions from Scala 2 (that I'm aware of).