Permalink
Browse files

Fix underspec (thanks Kostis Sagonas)

  • Loading branch information...
1 parent 932eb2e commit 8940f078014526831ca3e804c2e7d8231ef1d070 @tuncer tuncer committed Jan 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/rebar_erlc_compiler.erl
View
2 src/rebar_erlc_compiler.erl
@@ -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).

0 comments on commit 8940f07

Please sign in to comment.