diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_dialyzer.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_dialyzer.erl b/src/rebar_dialyzer.erl index 3fe9b7e..f0fa2e9 100644 --- a/src/rebar_dialyzer.erl +++ b/src/rebar_dialyzer.erl @@ -98,7 +98,7 @@ dialyze(Config, File) -> ok. %% @doc Build the PLT. -%% @spec build-plt(Config::#config{}, File::string()) -> ok +%% @spec 'build-plt'(Config::#config{}, File::string()) -> ok -spec 'build-plt'(Config::#config{}, File::string()) -> ok. 'build-plt'(Config, File) -> Plt = new_plt_path(Config, File), @@ -118,7 +118,7 @@ dialyze(Config, File) -> ok. %% @doc Check whether the PLT is up-to-date (rebuilding it if not). -%% @spec check-plt(Config::#config{}, File::string()) -> ok +%% @spec 'check-plt'(Config::#config{}, File::string()) -> ok -spec 'check-plt'(Config::#config{}, File::string()) -> ok. 'check-plt'(Config, File) -> Plt = existing_plt_path(Config, File), @@ -199,7 +199,7 @@ existing_plt_path(Config, File) -> %% @doc If the warnings option is present in rebar.config return its value, %% otherwise return []. -%% @spec warnings(Config::#config{}) -> list(). +%% @spec warnings(Config::#config{}) -> list() -spec warnings(Config::#config{}) -> list(). warnings(Config) -> DialyzerOpts = rebar_config:get(Config, dialyzer_opts, []), |