update Hh_prelude to match recent version of Core_kernel
commit46082bd8956b03cc1d73bc34a4adbef7cb2213b3
authorVincent Siles <vsiles@fb.com>
Thu, 9 Apr 2020 16:14:19 +0000 (9 09:14 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 9 Apr 2020 16:33:44 +0000 (9 09:33 -0700)
tree1c809041a02b7015d2e46f94dda64dccd8bcdcd6
parent4d6a9f0d648a694b680ad6600f899a55695e8bb2
update Hh_prelude to match recent version of Core_kernel

Summary:
I recently tried to update to a more recent ocaml/core_kernel and got
bitten by the polymorphic equal. Recent versions of Core_kernel restrict = to
be Int.equal, and explicit use of Poly.equal for polymorphic occurences.

This diff replace the actual ban of polymorphic equality with Int.equal.
Replacing `open Core_kernel` with `open Hh_prelude` will allow me to
replace lots of the current polymorphic equal (see next diff in stack for
an example)

Reviewed By: andrewjkennedy

Differential Revision: D20940202

fbshipit-source-id: 3e0fde06aa4e6448badb524cf6495be526b685f1
hphp/hack/src/utils/core/hh_prelude.ml