File 2961-hipe-Remove-work-around-for-Dialyzer-bug.patch of Package erlang

From 41fb808d6544927b9e39a16da588011f4848f635 Mon Sep 17 00:00:00 2001
From: Hans Bolinder <hasse@erlang.org>
Date: Mon, 13 Mar 2017 09:02:08 +0100
Subject: [PATCH] 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(-)

diff --git a/lib/hipe/util/hipe_vectors.erl b/lib/hipe/util/hipe_vectors.erl
index fc4e4edb2..788dacd11 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).
-- 
2.12.0

openSUSE Build Service is sponsored by