File 0187-Fix-array-spec-typo.patch of Package erlang

From b1b81473c5531bb765bcff634b8bdaf40b63b16e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=92=D0=B5=D1=81=D0=B5=D0=BB=D0=BE=D0=B2=20=D0=90=D0=BD?=
 =?UTF-8?q?=D0=B4=D1=80=D0=B5=D0=B9?= <veselov@corp.sputnik.ru>
Date: Mon, 24 Jul 2017 13:22:29 +0300
Subject: [PATCH] Fix array spec typo

---
 lib/stdlib/src/array.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/stdlib/src/array.erl b/lib/stdlib/src/array.erl
index 079b76146..a237eaa48 100644
--- a/lib/stdlib/src/array.erl
+++ b/lib/stdlib/src/array.erl
@@ -1603,7 +1603,7 @@ foldl_2(I, E, A, Ix, F, D, N, R, S) ->
 	    Ix + S, F, D, N, R, S).
 
 -spec foldl_3(pos_integer(), _, A, array_indx(),
-	      fun((array_indx, _, A) -> B), integer()) -> B.
+	      fun((array_indx(), _, A) -> B), integer()) -> B.
 
 foldl_3(I, E, A, Ix, F, N) when I =< N ->
     foldl_3(I+1, E, F(Ix, element(I, E), A), Ix+1, F, N);
-- 
2.13.4

openSUSE Build Service is sponsored by