elixir-circuits / circuits_uart

Discover and use UARTs and serial ports in Elixir
Apache License 2.0
189 stars 48 forks source link

Fix Dialyzer errors #29

Closed ejpcmac closed 6 years ago

ejpcmac commented 6 years ago

I am running into a Dialyzer error when using Nerves.UART.read/2 from v0.1.2, as the @spec is not correct.

Searching through the repo, I see it has been fixed more than six months ago in #20, but it is not yet released. Is there a plan to do a bugfix release anytime soon? It is sad to get a cascade of errors in Atom ide-elixir for this.

fhunleth commented 6 years ago

Thanks for reminding me! I haven't been using nerves_uart recently and it fell off my todo list. I just published a new version on hex with #20 and a couple other minor fixes. Hope it works for you now.

ejpcmac commented 6 years ago

No problem. Thank you for writing this library :) It works perfectly!