earmark icon indicating copy to clipboard operation
earmark copied to clipboard

Fix typespecs

Open RobertDober opened this issue 7 years ago • 5 comments

RobertDober avatar Dec 03 '17 11:12 RobertDober

Dialyzer is giving me a "The created fun has no local return" where I'm calling Earmark.as_html, is this related to that error? If yes, is there anything I can do in the mean time to silence it?

sebastiandedeyne avatar Dec 21 '17 14:12 sebastiandedeyne

https://github.com/pragdave/earmark/tree/dialyzer, waaaay to go, but not forgotten.

You can adapt your own mix.exsto something like that https://github.com/pragdave/earmark/blob/dialyzer/mix.exs#L34 but then you need to copy all messages to be ignored into the file in question.

There might be a better way I am not aware of.

RobertDober avatar Dec 21 '17 15:12 RobertDober

Didn't know about that option, that'll do it for now, thanks!

sebastiandedeyne avatar Dec 21 '17 17:12 sebastiandedeyne

Still waiting for dialyxir

RobertDober avatar Mar 23 '19 18:03 RobertDober

Needs https://github.com/RobertDober/earmark_parser/issues/12

RobertDober avatar Jul 01 '20 15:07 RobertDober