diff options
author | Hans Bolinder <hasse@erlang.org> | 2017-03-13 09:02:08 +0100 |
---|---|---|
committer | Hans Bolinder <hasse@erlang.org> | 2017-03-13 09:02:08 +0100 |
commit | 41fb808d6544927b9e39a16da588011f4848f635 (patch) | |
tree | 77f27b11ec4b5b88a21cf5aa942442994b21225d /lib/hipe/util | |
parent | 35e38c97f5f731e3b1689b0740efa305bac9d16e (diff) | |
download | erlang-41fb808d6544927b9e39a16da588011f4848f635.tar.gz |
hipe: Remove work around for Dialyzer bug
The bug in Dialyzer is fixed in commit 5ac2943.
Diffstat (limited to 'lib/hipe/util')
-rw-r--r-- | lib/hipe/util/hipe_vectors.erl | 3 |
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). |