file_mode fix
commit717fd9851a17796b013515284ce63c6f491657fb
authorPhilip Hölzenspies <drphil@fb.com>
Fri, 9 Feb 2018 17:42:30 +0000 (9 09:42 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 9 Feb 2018 18:02:46 +0000 (9 10:02 -0800)
tree47f3ef03cedc88ff1e690233f539e6abb55ac44c
parent4e48656c0cf20c45d54fad5b7244f55e8ab3ac18
file_mode fix

Summary:
`hh_server` uses the `option`-part of the `Parse_result.fi_mode` to determine
whether a file should or should not be added to the `Decl_heap`. During the
development of the FFP / lowerer, we introduced an explicit `FileInfo.Mphp`. By
using `Some Mphp` instead of `None`, `hh_server` quietly started taking PHP
files in as if Hack files.

Reviewed By: andrewjkennedy

Differential Revision: D6950049

fbshipit-source-id: 6afd80b19668fbe58145bbf557101619a4f0e54e
hphp/hack/src/parser/full_fidelity_ast.ml