Open garthk opened 5 years ago
Workaround in mix.exs
:
def project do
[
# ...
dialyzer: dialyzer(),
# ...
]
end
defp dialyzer() do
[
# 'mix dialyzer --format dialyzer' to get lines you can paste into:
ignore_warnings: "dialyzer.ignore-warnings",
list_unused_filters: true
]
end
… then in dialyzer.ignore-warnings
:
:0: Unknown type opencensus:span_kind/0
While you're at it, erlang:stack_item
doesn't seem to be a thing:
:0: Unknown type erlang:stack_item/0
span_kind
isn't in theexport_type
inopencensus.erl
, causingdialyzer
heartache when I useRecord.extract/2
to pull out:kind
.