Closed tamarit closed 8 years ago
The problem in this case is that CStatAnn
is a type alias, defined with type CStatAnn = ...
. You should not define instances for type aliases, but should instead define them for the data types like CStatement
.
Certainly could be a better error message!
Ah ok. I didn't know that sorry. Makes sense :)
Thank Neil for the info. Salva
Hi Neil or hi new maintainer,
I've trying to derive some type automatically using this fantastic tool. For simple examples it works fine, but when I get it into "real life", I'm getting this error constantly. I've been googling and somewhere someone says that this is a bug in your code. Is this true?
Thanks in advance Salva