Closed chwthewke closed 4 years ago
thanks! will take a look
here we go. damn default arguments! :imp: :smile: I did quite a bit of (unrelated) restructuring, so there might be unintended side effects. If something is weird, please report!
Whoa that was fast! Many thanks!
Hello,
I'm somewhat confused, but I think I have a weird one here.
Apparently, using splain breaks the new in Scala 2.13 "by-name implicits", such as used for generic derivation in Typelevel Kittens (https://github.com/typelevel/kittens)
A short example such as:
compiles fine without splain but fails with splain. The failing output is:
which seems to point towards a by-name implicit in kittens (which should indeed occur somewhere in the expected derivation).
Should it be useful, I've put a minimal-ish reproduction at https://github.com/chwthewke/splain-by-name (not so minimal because it starts from my usual template sadly, but I took care to disable anything that could interfere so it should reproduce nicely). The project has two modules with the same source, one with splain active, the other without. It targets scala 2.13.1 but from other testing I think 2.13.0 is similarly affected.
Thank you