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
[error] -- Error:
[error] 17 |object Bottom extends Left with Right
[error] | ^
[error] |method foo in trait Right is not a legal implementation of `foo` in class Bottom
[error] | its type => Foo[Bottom.F]
[error] | does not conform to => Foo[Bottom.F] & Foo[Bottom.F]
Expectation
The expected type for member foo in Bottom should be reduced to Foo[F] instead of Foo[F] & Foo[F], and the code would compile.