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: kinds of the typearguments (foo.A,foo.F) do not conform to the expected kinds of the typeparameters (typeA,typeF).
foo.F'stypeparametersdo not matchtypeF's expected parameters:
type_ (in traitFoo)'s bounds <:Foo.this.A are stricter than type_'s declared bounds <:A
noop[foo.A, foo.F] // does not compile
The text was updated successfully, but these errors were encountered:
@retronym said:
Merging with #9337, which I'll try to revive. The patch I linked in the comments of that ticket leads to successful bounds checking of your example above.
The following does not compile:
The error is:
The text was updated successfully, but these errors were encountered: