Closed
Description
Compiler version
3.0.0-RC1
Minimized code
package opaquetypes
object `package`:
opaque type Foo = Double
object Bar:
class Baz(val i: Foo):
def foo(that: Any): Boolean = that match
// `Double.==` selected from source; `Any.==` selected `-from-tasty`
case that1 @ (_: Baz) => Baz.this.i == that1.i
case _ => true
Expectation
Double.==
should also be selected with -from-tasty
, the issue arises when if you actually select Double.==
in unpickling then the checker does not expect it