-
Notifications
You must be signed in to change notification settings - Fork 100
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
Compiler error when mocking classes with generics #170
Comments
cause: changes to MockMaker.initDef in e07cca3 |
typeSignatureIn returns the parameter T, not the materialised type (e.g. Int) |
Bit stuck on this one, so I asked at https://stackoverflow.com/questions/42044540/obtaining-the-realised-type-for-a-scala-class-using-macros and gitter |
very stuck, the solution with |
Hello, is there maybe any workaround for this one? It's quite painful... Thanks! |
Okay, I found workaround, you need to specify all the types (including |
worked in 3.4.2, broken in 3.5.0
real example:
minified example:
compiler error:
The text was updated successfully, but these errors were encountered: