aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-03-13 09:02:08 +0100
committerHans Bolinder <[email protected]>2017-03-13 09:02:08 +0100
commit41fb808d6544927b9e39a16da588011f4848f635 (patch)
tree77f27b11ec4b5b88a21cf5aa942442994b21225d
parent35e38c97f5f731e3b1689b0740efa305bac9d16e (diff)
downloadotp-41fb808d6544927b9e39a16da588011f4848f635.tar.gz
otp-41fb808d6544927b9e39a16da588011f4848f635.tar.bz2
otp-41fb808d6544927b9e39a16da588011f4848f635.zip
hipe: Remove work around for Dialyzer bug
The bug in Dialyzer is fixed in commit 5ac2943.
-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).