aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-03-14 14:21:37 +0100
committerHans Bolinder <[email protected]>2017-03-14 14:21:37 +0100
commitaec64f75c5a2a044b9e5cec77fb2ca243ff1b212 (patch)
treec2da8f6da8a6f652bbc6b1293347e30876e94056 /lib
parentdcba34b6295edca4cc9c899152612f410d23c1ef (diff)
parent41fb808d6544927b9e39a16da588011f4848f635 (diff)
downloadotp-aec64f75c5a2a044b9e5cec77fb2ca243ff1b212.tar.gz
otp-aec64f75c5a2a044b9e5cec77fb2ca243ff1b212.tar.bz2
otp-aec64f75c5a2a044b9e5cec77fb2ca243ff1b212.zip
Merge branch 'hasse/hipe/remove_work_around'
* hasse/hipe/remove_work_around: hipe: Remove work around for Dialyzer bug
Diffstat (limited to 'lib')
-rw-r--r--lib/hipe/util/hipe_vectors.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/hipe/util/hipe_vectors.erl b/lib/hipe/util/hipe_vectors.erl
index fc4e4edb24..788dacd11b 100644
--- a/lib/hipe/util/hipe_vectors.erl
+++ b/lib/hipe/util/hipe_vectors.erl
@@ -116,8 +116,7 @@ get(Vec, Ix) ->
%% ---------------------------------------------------------------------
-ifdef(USE_ARRAYS).
-%%-opaque vector(E) :: array:array(E).
--type vector(E) :: array:array(E). % Work around dialyzer bug
+-opaque vector(E) :: array:array(E).
new(N, V) -> array:new(N, {default, V}).
size(V) -> array:size(V).