## Compiler version 3.2.2 ## Minimized code <!-- This code should be self contained, compilable (with possible failures) and as small as possible. Ideally, we should be able to just copy this code in a file and run `scalac` (and maybe `scala`) to reproduce the issue. --> [scastie](https://scastie.scala-lang.org/N9AOprWvT9SmZS9xvIfpCw) ```Scala enum T[U] { case G[A <: Int](i: A) extends T[A] // match may not be exhaustive. // // It would fail on pattern case: T.G(_) def f: Int = this match case G(i) => ??? } ``` ## Output Warning on match being not exhaustive ## Expectation It should compile