When using an enumeration, we expect pattern matching on the objects to work by default even under `strictEquality`. ## Compiler version v3.1.0-RC1 ## Minimized code ```Scala import scala.language.strictEquality enum FooBar: case Foo, Bar def check(fb : FooBar): Unit = fb match case FooBar.Foo => case FooBar.Bar => ``` ## Output ```scala Values of types FooBar and FooBar cannot be compared with == or != Values of types FooBar and FooBar cannot be compared with == or != ``` ## Expectation No error.