We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Originally I thought it was #93 but its actually related to the generic list:
trait Foo { def overloaded(x: List[_]): String def overloaded[T](x: List[T], y: String): String } val fooMock = mock[Foo] (fooMock.overloaded: (List[_]) => String).expects(List(1.0, 2.0)) returning "one two" fooMock.overloaded(List(1.0, 2.0))
Returns:
Information:(119, 24) Unable to resolve overloaded method overloaded (fooMock.overloaded: (List[_]) => String).expects(List(1.0, 2.0)) returning "one two" ^
The text was updated successfully, but these errors were encountered:
Issue #94 is fixed in ScalaMock4
54b4536
67461ec
not reproducible anymore with newest version of ScalaMock
Sorry, something went wrong.
No branches or pull requests
Originally I thought it was #93 but its actually related to the generic list:
Returns:
The text was updated successfully, but these errors were encountered: