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
There is a compilation error when I try to mock a class with overloaded methods that have arguments of a generic type parametrised with a wildcard type.
value expects is not a member of this.A[this.P] => Unit
(mockFooer.foo(_: A[P])).expects(new A[P])
value expects is not a member of this.B[this.P] => Unit
(mockFooer.foo(_: B[P])).expects(new B[P])
There is a compilation error when I try to mock a class with overloaded methods that have arguments of a generic type parametrised with a wildcard type.
Example:
Errors:
However, I expect successful compilation.
Versions:
The text was updated successfully, but these errors were encountered: