瀏覽代碼

Fix underspec (thanks Kostis Sagonas)

pull/3/head
Tuncer Ayaz 14 年之前
父節點
當前提交
8940f07801
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rebar_erlc_compiler.erl

+ 1
- 1
src/rebar_erlc_compiler.erl 查看文件

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

Loading…
取消
儲存