From 5f995bfdc007c7f8c23d2b933a40627c1f311a04 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Sun, 29 Jun 2014 20:15:43 +0200 Subject: Fix a few minor formatting inconsistencies * fix overlong lines * where appropriate use %% instead of % --- src/rebar_erlc_compiler.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rebar_erlc_compiler.erl') diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl index 376cde5..ae4503b 100644 --- a/src/rebar_erlc_compiler.erl +++ b/src/rebar_erlc_compiler.erl @@ -48,10 +48,10 @@ }). -ifdef(namespaced_types). -% digraph:digraph() exists starting from Erlang 17. +%% digraph:digraph() exists starting from Erlang 17. -type rebar_digraph() :: digraph:digraph(). -else. -% digraph() has been obsoleted in Erlang 17 and deprecated in 18. +%% digraph() has been obsoleted in Erlang 17 and deprecated in 18. -type rebar_digraph() :: digraph(). -endif. -- cgit v1.1 From c22370a2cbd99ab884aeb248faaf254f9c9ea9b0 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Sun, 29 Jun 2014 21:03:26 +0200 Subject: Use correct types for OTP >=17.x --- src/rebar_erlc_compiler.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rebar_erlc_compiler.erl') diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl index ae4503b..f628433 100644 --- a/src/rebar_erlc_compiler.erl +++ b/src/rebar_erlc_compiler.erl @@ -48,8 +48,8 @@ }). -ifdef(namespaced_types). -%% digraph:digraph() exists starting from Erlang 17. --type rebar_digraph() :: digraph:digraph(). +%% digraph:graph() exists starting from Erlang 17. +-type rebar_digraph() :: digraph:graph(). -else. %% digraph() has been obsoleted in Erlang 17 and deprecated in 18. -type rebar_digraph() :: digraph(). -- cgit v1.1