Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix opaque type warnings on R16B. #71

Merged
merged 1 commit into from

2 participants

@cmeiklejohn
Collaborator

Export opaque types for R16 compatibility.

@cmeiklejohn
Collaborator

I think these failures are due to a ranch dependency not compiling with warnings_as_errors on for certain versions of Erlang/OTP.

@beerriot beerriot merged commit 8697c06 into from
@cmeiklejohn cmeiklejohn deleted the branch
@cmeiklejohn
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 22, 2013
  1. @cmeiklejohn
This page is out of date. Refresh to see the latest.
View
1  src/riak_pipe_builder.erl
@@ -52,6 +52,7 @@
sinkmon :: reference()}). % monitor ref
-opaque state() :: #state{}.
+-export_type([state/0]).
%%%===================================================================
%%% API
View
2  src/riak_pipe_fitting.erl
@@ -62,7 +62,7 @@
-opaque state() :: #state{}.
--export_type([details/0]).
+-export_type([state/0, details/0]).
-type details() :: #fitting_details{}.
%%%===================================================================
View
1  src/riak_pipe_vnode.erl
@@ -115,6 +115,7 @@
| #handoff{}}).
-opaque state() :: #state{}.
+-export_type([state/0]).
-record(cmd_enqueue, {fitting :: #fitting{},
input :: term(),
View
1  src/riak_pipe_vnode_worker.erl
@@ -161,6 +161,7 @@
vnode :: pid(),
modstate :: term()}).
-opaque state() :: #state{}.
+-export_type([state/0]).
%% @doc Get information about this behavior.
-spec behaviour_info(atom()) -> 'undefined' | [{atom(), arity()}].
View
1  src/riak_pipe_w_crash.erl
@@ -33,6 +33,7 @@
-record(state, {p :: riak_pipe_vnode:partition(),
fd :: riak_pipe_fitting:details()}).
-opaque state() :: #state{}.
+-export_type([state/0]).
%% name of the table reMEMbering restarts
-define(MEM, ?MODULE).
View
1  src/riak_pipe_w_fwd.erl
@@ -35,6 +35,7 @@
-record(state, {fd :: riak_pipe_fitting:details()}).
-opaque state() :: #state{}.
+-export_type([state/0]).
%% @doc Initialization just stows the fitting details in the module's
%% state, for sending traces in {@link process/3}.
View
1  src/riak_pipe_w_pass.erl
@@ -35,6 +35,7 @@
-record(state, {p :: riak_pipe_vnode:partition(),
fd :: riak_pipe_fitting:details()}).
-opaque state() :: #state{}.
+-export_type([state/0]).
%% @doc Initialization just stows the partition and fitting details in
%% the module's state, for sending outputs in {@link process/3}.
View
1  src/riak_pipe_w_rec_countdown.erl
@@ -81,6 +81,7 @@
-record(state, {p :: riak_pipe_vnode:partition(),
fd :: riak_pipe_fitting:details()}).
-opaque state() :: #state{}.
+-export_type([state/0]).
%% @doc Initialization just stows the partition and fitting details in
%% the module's state, for sending outputs in {@link process/3}.
View
1  src/riak_pipe_w_reduce.erl
@@ -93,6 +93,7 @@
p :: riak_pipe_vnode:partition(),
fd :: riak_pipe_fitting:details()}).
-opaque state() :: #state{}.
+-export_type([state/0]).
%% @doc Setup creates the store for evaluation results (a dict()) and
%% stashes away the `Partition' and `FittingDetails' for later.
View
1  src/riak_pipe_w_tee.erl
@@ -38,6 +38,7 @@
-record(state, {p :: riak_pipe_vnode:partition(),
fd :: riak_pipe_fitting:details()}).
-opaque state() :: #state{}.
+-export_type([state/0]).
%% @doc Init just stashes the `Partition' and `FittingDetails' for later.
-spec init(riak_pipe_vnode:partition(), riak_pipe_fitting:details()) ->
View
1  src/riak_pipe_w_xform.erl
@@ -55,6 +55,7 @@
-record(state, {p :: riak_pipe_vnode:partition(),
fd :: riak_pipe_fitting:details()}).
-opaque state() :: #state{}.
+-export_type([state/0]).
%% @doc Init just stashes the `Partition' and `FittingDetails' for later.
-spec init(riak_pipe_vnode:partition(), riak_pipe_fitting:details()) ->
Something went wrong with that request. Please try again.