Sfoglia il codice sorgente

Fix underspec (thanks Kostis Sagonas)

pull/3/head
Tuncer Ayaz 14 anni fa
parent
commit
8940f07801
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/rebar_erlc_compiler.erl

+ 1
- 1
src/rebar_erlc_compiler.erl Vedi File

@ -164,7 +164,7 @@ doterl_compile(Config, OutDir, MoreSources) ->
%% Internal functions
%% ===================================================================
-spec include_path(Source::string(), Config::#config{}) -> [string()].
-spec include_path(Source::string(), Config::#config{}) -> [string(), ...].
include_path(Source, Config) ->
ErlOpts = rebar_config:get(Config, erl_opts, []),
["include", filename:dirname(Source)] ++ proplists:get_all_values(i, ErlOpts).

Caricamento…
Annulla
Salva