New issue
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
Scalamock regressed in 2.13 nightly build #11774
Comments
Minimization
Regressed with scala/scala#8458 indeed. |
Hmm, I was worried about this case after we merged. Since you're not allowed to specify type params for a constructor invocation, the rules for applicability may actually have been correct to consider the class's type param as bound outside the method signature. |
Maybe it's enough to actually enforce that rule when doing the constructor call, but leave the new flexibility in place for isApplicable (the bug fixed by the PR was about invoking the constructor using |
not setting the milestone, since the regression never appeared in any release. |
in the Scala 2.13 community build,
caused https://scala-ci.typesafe.com/job/scala-2.13.x-integrate-community-build/2723/artifact/logs/scalamock-build.log:
the problem is reproducible in the community build with
./narrow scalamock; ./run.sh
and outside the community build by
hub clone paulbutcher/ScalaMock
then++2.13.2-bin-99afc54
andscalamockJVM/compile
looking at
git log --merges 4ec48ff..99afc54
in scala/scala, scala/scala#8458 looks like the likely culprit@lrytz @adriaanm can you look at this and see whether you think that PR is at fault, or whether the Scalamock code should be changed?
The text was updated successfully, but these errors were encountered: