Closed hissssst closed 3 months ago
Thx for reporting! :+1:
Thanks for reporting this 😀 It is now fixed on master
.
You can try this by setting the Credo dep to
{:credo, github: "rrrene/credo"}
Please report back if your issue is solved! 👍
This is live in v1.7.6
🎉
Environment
mix credo -v
):1.7.5-ref.master.c5b4d38+uncommittedchanges
elixir -v
):Elixir 1.15.7 (compiled with Erlang/OTP 25)
Expected outcome
It does not complain that line 4 has no spec, since it is a generated function
Actual outcome
It complains that the def on line 4 has no spec
Real world example
Run
mix credo
here: https://github.com/hissssst/pathex