RationalJS / future

A Js.Promise alternative for ReasonML
213 stars 15 forks source link

Update for bucklescript 8 #51

Closed dfalling closed 4 years ago

dfalling commented 4 years ago

Updates for BuckleScript 8 changes.

/node_modules/reason-future/src/FutureJs.re 18:5-28:8

  16 │ let fromPromise = (promise, errorTransformer) =>
  17 │   Future.make(callback =>
  18 │     promise
  19 │     |> Js.Promise.then_(res =>
   . │ ...
  27 │          |> Js.Promise.resolve
  28 │        )
  29 │   );
  30 │

  This has type:
    Js.Promise.t(unit) (defined as Js.Promise.t(unit))
  But somewhere wanted:
    unit

bsrefmt made a few other minor changes too automatically. I can back those out if you'd like.

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build 89


Totals Coverage Status
Change from base Build 87: 0.0%
Covered Lines: 161
Relevant Lines: 162

💛 - Coveralls
briangorman commented 4 years ago

@dfalling Thanks for the PR, once the merge conflict is resolved I will merge.