You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found: (0:Int)
Required:F[A]
where:F is a typein method foo which is an alias of [X] =>>Int
Expectation
By pattern matching we derive the GADT bound F := [X] =>> Int (as shown in the error message), but during type comparison the compiler will not recognize F[X] == Int for the applied type.