ztellman / automat

better automata through combinators

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conflict with midje

dryewo opened this issue · comments

Using automat together with midje causes exception on startup.

How to reproduce:
Create a new project, add dependencies:

[automat "0.1.3"]
[midje "1.8.2"]

Launch REPL, load midje:

=> (require '[midje.repl])
Run `(doc midje)` for Midje usage.
Run `(doc midje-repl)` for descriptions of Midje repl functions.

CompilerException java.lang.RuntimeException: Unable to resolve symbol: _wrapping-target_ in this context, compiling:(midje/repl.clj:32:3) 

It can be worked around by adding a third dependency:

[potemkin "0.4.2"]

Seems a minor issue, but it took me a while to figure out, eventually found this: marick/Midje#340
I believe it can be fixed by changing potemkin version for automat to 0.4.2. I could make a pull request, but there is no branch for 0.1.3 hotfixes :)