Open
Description
Compiler version
3.6.0-RC1
Minimized example
val f: [A <: Int] => A => Int =
[A <: Any] => (a: A) => 0
Output
-- [E007] Type Mismatch Error: tests/playground/example.scala:3:2 --------------
3 | [A <: Any] => (a: A) => 0
| ^^^^^^^^^^^^^^^^^^^^^^^^^
| Found: [A] => (a: A) => Int
| Required: [A <: Int] => (x$1: A) => Int
Expectation
