Closed kanwei closed 5 years ago
Works fine for me in the three modes I tried. Can you give us some more background such as a deps.edn
and command that reproduces this? Thanks.
Found a minimal reproduction deps.edn
: {:aliases {#_#_:foo {:x :y}}}
. It's something to do with depot.zip/lib?
being given something it can't handle when that's inside deps.edn
.
Ah, maybe it's just this bug: https://github.com/xsc/rewrite-clj/issues/70
Does this sound familiar to you, @plexus :sweat_smile: maybe nothing can be done until it's fixed upstream?
We have our own dzip/right and dzip/left to work around that bug, so that shouldn't be the problem, but might be some other places where we need to be wary of uneval nodes. I'll try to make some time to look into it.
@kanwei cool to see you're using the --resolve-virtual
functionality already! I've pushed a fix, could you please try this to see if that fixes it for you?
clj -Sdeps '{:deps {olical/depot {:git/url "https://github.com/plexus/depot.git" :sha "7b2a957101483376b5b712525d2593e52431e756"}}}' -m depot.outdated.main --resolve-virtual
I also commented on the upstream issue, it would make things a lot easier if we could get this fixed in rewrite-clj. (https://github.com/xsc/rewrite-clj/issues/70)
I could reproduce it and this gets it working again, nice one! Thank you very much for the work, I'll get the fix out now.
Released under v1.8.2
.
Works fine on 1.8.0