Closed wsargent closed 5 days ago
Looks like a bug/limitation of shapeless (reftree doesn’t have any macros of its own). But I am wondering how a diagram can be automatically derived for NameChanger
. It’s a sealed trait with only a private anonymous subclass, and that subclass does not have any attributes. I don’t think shapeless can support that (see https://github.com/milessabin/shapeless/wiki/Feature-overview:-shapeless-2.0.0#generic-representation-of-sealed-families-of-case-classes), but if it did, what output would you expect?
Exception building diagram (on scala 2.12.5)
code is as follows