Move helpers earlier in file and add comments
commit5ce8b8671306ad4657f3b10232264dcdebf9c5fd
authorWilfred Hughes <wilfred@fb.com>
Thu, 2 Dec 2021 19:24:39 +0000 (2 11:24 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 2 Dec 2021 19:27:05 +0000 (2 11:27 -0800)
tree8768444d251aa56b1d189a34e6068027dc1e2833
parentcb5da8660e90398cab2f0371558dce741b0541ff
Move helpers earlier in file and add comments

Summary:
Later in this stack, we use the helper functions on earlier lines on the file. Move them up now, so the later diffs are clearer.

Also add documentation to `argument_global_type` to explain why it exists.

Reviewed By: hgoldstein

Differential Revision: D32774756

fbshipit-source-id: 49fd3491a8b701735d3e899f71865b1be1f6cb57
hphp/hack/src/server/autocompleteService.ml