News for hackers. Stuff that matters.
Re:Changelog for Elixir v1.11 by pera on Saturday September 12, 2020 @04:08PM (#24455192)
AFAIK you don't need to add @specs everywhere to get useful warnings from Dialyzer (or Dialyxir) as it does some type inference and also the standard library is already annotated, but I only played with it one time so don't quote me on that.
Re:Changelog for Elixir v1.11 by triplejjj on Saturday September 12, 2020 @06:16PM (#24456349)
Fun fact: dialyzer does not use your @spec’s to run checks. If you do provide a @spec, it will check that it matches, but it doesn’t affect dialyzer itself.