From a52d19b5b8cdcdbf82b5ed87106e04ca81967cf1 Mon Sep 17 00:00:00 2001 From: Marcello Seri Date: Mon, 19 Oct 2020 17:53:23 +0300 Subject: [PATCH] Native: replace bare Ok by Result.Ok Fixes #65. --- src/native/promise.re | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/native/promise.re b/src/native/promise.re index 98dd051..a63ca59 100644 --- a/src/native/promise.re +++ b/src/native/promise.re @@ -579,7 +579,7 @@ let allOkArray = promises => { let promiseCount = Array.length(promises); if (promiseCount == 0) { - resolved(Ok([||])); + resolved(Result.Ok([||])); } else { let resultValues = Array.make(promiseCount, None);