Cloverage causing ‘Method code too large!’ error on a defprotocol

Viewed 118

The defprotocol does have a large set of methods, 26.

I don’t need the defprotocol instrumented anyway so I’m trying to get the --exclude-call argument to work, but all my attempts have failed, I keep getting the ‘Method code too large!’ error for the defprotocol.

I've tried...

lein cloverage --exclude-call ‘mynamespace.main/my-protocol’
lein cloverage --exclude-call ‘clojure.core/defprotocol’

and other variants of the above.

Any ideas?

Ref: https://github.com/cloverage/cloverage

0 Answers
Related