Use nowarn_function instead of .dialyzer-ignore

pull/162/head
Luke Imhoff 7 years ago
parent f1848db0f6
commit 75d362e024
  1. 1
      .dialyzer-ignore
  2. 3
      apps/explorer/lib/explorer/indexer/block_fetcher.ex

@ -1,4 +1,3 @@
:0: Unknown function 'Elixir.ExUnit.Callbacks':'__merge__'/3
:0: Unknown function 'Elixir.ExUnit.CaseTemplate':'__proxy__'/2
:0: Unknown type 'Elixir.Map':t/0
apps/explorer/lib/explorer/indexer/block_fetcher.ex:224: The created fun has no local return

@ -16,6 +16,9 @@ defmodule Explorer.Indexer.BlockFetcher do
alias Explorer.JSONRPC.Transactions
# dialyzer thinks that Logger.debug functions always have no_local_return
@dialyzer {:nowarn_function, stream_import: 3}
@batch_size 1
@blocks_concurrency 10

Loading…
Cancel
Save