Isolate contextual error formatter code
commit9d5e278b2f748b3428d45c7bb40cec2993e209ea
authorMichael Christensen <michristensen@fb.com>
Thu, 30 Jul 2020 00:57:11 +0000 (29 17:57 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 30 Jul 2020 01:10:55 +0000 (29 18:10 -0700)
tree45a40b28c5fdd50ccef3b7295833468ea17eae6b
parentf91141a88a00a0c0043316daee0f6dd5785b4c03
Isolate contextual error formatter code

Summary: Puts all of the contextual error formatter code into its own file, updates call sites. No new functionality was added.

Reviewed By: Wilfred

Differential Revision: D22798188

fbshipit-source-id: 8a94a1c8dd4da0fdde2fd77f2c77f047aaade7d6
hphp/hack/src/client/clientCheckStatus.ml
hphp/hack/src/errors/contextual_error_formatter.ml [new file with mode: 0644]
hphp/hack/src/errors/contextual_error_formatter.mli [new file with mode: 0644]
hphp/hack/src/errors/errors.ml
hphp/hack/src/errors/errors.mli
hphp/hack/src/hh_single_type_check.ml
hphp/hack/src/utils/lint/lint_core.ml