Open barkhorn opened 7 years ago
cause: changes to MockMaker.initDef in e07cca308abaebdaeeca27c3c2933bdc211f3bcc
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 .dealias
is more difficult to implement than I thought. Also MockAdapter for 2.10 redirects this to .normalize
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 _
in F[_]
) explicitly by creating another class which extends from the generic one
worked in 3.4.2, broken in 3.5.0
real example:
minified example:
compiler error: