spandex-project / spandex

A platform agnostic tracing library
MIT License
333 stars 53 forks source link

Fix Tracer.opts/0 type #96

Closed hylkealons closed 5 years ago

hylkealons commented 5 years ago

Problem

Dialyzer complains about a type not being found when using

  use Spandex.Tracer, otp_app: :pg_payments
:0:unknown_type
Unknown type: Tracer.opts/0.

Solution

Fix the type

zachdaniel commented 5 years ago

@hylkealons That is release as version 2.4.1 because I know how annoying dialyzer errors failing a build can be :D

hylkealons commented 5 years ago

thanks for the fast merge and bump @zachdaniel ! This is great, I already wrote a commit for dialyzer ignore but this is way better!!

GregMefford commented 5 years ago

Thanks, @zachdaniel!