Fork me on GitHub
#cloverage
<
2018-10-18
>
miikka05:10:34

When running my test suite under Cloverage, I get a bunch of "No implementation of method" exceptions for protocol implementations of records.

miikka05:10:27

The implementations are defined by (defrecord MyRecord [..] MyProtocol ...) but if I change them to (defrecord MyRecord [..]) (extend-type MyRecord MyProtocol ...), they start to work.

miikka10:10:18

A coworker pointed out that defrecord creates the interface implementations for the protocol while extend-type creates the protocol implementations, so that's probably why it helps.