Skip to content

Commit

Permalink
Fix dialyzer errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ieQu1 committed May 2, 2024
1 parent df4c937 commit ad55b22
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/snabbkaffe.erl
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@

-export_type([ kind/0, timestamp/0, event/0, timed_event/0, trace/0
, maybe_pair/0, maybe/1, metric/0, run_config/0, predicate/0
, predicate2/0, trace_spec/1, trace_specs/1
, predicate2/0, trace_spec/1, trace_specs/1, filter/0
]).

%%====================================================================
Expand Down
6 changes: 3 additions & 3 deletions src/snabbkaffe_collector.erl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%% Copyright 2021-2023 snabbkaffe contributors
%% Copyright 2021-2024 snabbkaffe contributors
%% Copyright 2019-2020 Klarna Bank AB
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -44,7 +44,7 @@
-export([ do_forward_trace/1
]).

-export_type([async_action/0, subscription/0]).
-export_type([async_action/0, subscription/0, datapoints/0]).

-define(SERVER, ?MODULE).

Expand Down Expand Up @@ -116,7 +116,7 @@ get_stats() ->
gen_server:call(?SERVER, get_stats, infinity).

%% NOTE: Concuerror only supports `Timeout=0'
-spec flush_trace() -> snabbkaffe:timed_trace().
-spec flush_trace() -> snabbkaffe:trace().
flush_trace() ->
{ok, Trace} = gen_server:call(?SERVER, flush_trace, infinity),
Trace.
Expand Down
6 changes: 3 additions & 3 deletions src/snabbkaffe_nemesis.erl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%% Copyright 2019-2020, 2022 Klarna Bank AB
%% Copyright 2021 snabbkaffe contributors
%% Copyright 2021-2024 snabbkaffe contributors
%% Copyright 2019-2020 Klarna Bank AB
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -91,7 +91,7 @@
-record(fault,
{ reference :: reference()
, predicate :: snabbkaffe:predicate()
, scenario :: snabbkaffe:fault_scenario()
, scenario :: fault_scenario()
, reason :: term()
}).

Expand Down

0 comments on commit ad55b22

Please sign in to comment.