From 41fb808d6544927b9e39a16da588011f4848f635 Mon Sep 17 00:00:00 2001 From: Hans Bolinder Date: Mon, 13 Mar 2017 09:02:08 +0100 Subject: hipe: Remove work around for Dialyzer bug The bug in Dialyzer is fixed in commit 5ac2943. --- lib/hipe/util/hipe_vectors.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') 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). -- cgit v1.2.3