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
Type argument Test.this.A does not conform to upper bound M1.this.A
Expectation
No error.
If the bound T<:A is in a function rather than a trait, compiles. If export is replaced by import, compiles. If F is defined in M2, compiles. If F is a class rather than a trait, does not compile