Implicit `<?hh // strict` for .hack files
commit9c37989c8ee01a630d44c6ac4c72660aedaf4237
authorFred Emmott <fe@fb.com>
Sat, 19 Jan 2019 04:13:27 +0000 (18 20:13 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Sat, 19 Jan 2019 04:16:54 +0000 (18 20:16 -0800)
tree40a3407510b8a4b235185e9992934aac75462d37
parent75d4bbe7de0deda81c8f9e15f8372557e0039075
Implicit `<?hh // strict` for .hack files

Summary: Pull Request resolved: https://github.com/facebook/hhvm/pull/8421

Reviewed By: pittsw

Differential Revision: D13725599

fbshipit-source-id: f21cfdec59573c9193422d4cf4d01ff24953ac6f
21 files changed:
hphp/hack/src/hh_parse.ml
hphp/hack/src/parser/full_fidelity_ast.ml
hphp/hack/src/parser/full_fidelity_declaration_parser.ml
hphp/hack/src/parser/full_fidelity_parser.ml
hphp/hack/src/parser/full_fidelity_parser_env.ml
hphp/hack/src/parser/full_fidelity_syntax_error.ml
hphp/hack/src/parser/full_fidelity_syntax_error.mli
hphp/hack/src/server/serverFindLocals.ml
hphp/hack/test/dot_hack/dot_hack_can_not_have_header.hack [new file with mode: 0644]
hphp/hack/test/dot_hack/dot_hack_can_not_have_header.hack.exp [new file with mode: 0644]
hphp/hack/test/dot_hack/dot_hack_is_implicity_strict.hack [new file with mode: 0644]
hphp/hack/test/dot_hack/dot_hack_is_implicity_strict.hack.exp [new file with mode: 0644]
hphp/test/run.php
hphp/test/slow/dot_hack/no_header.hack [new file with mode: 0644]
hphp/test/slow/dot_hack/no_header.hack.expect [new file with mode: 0644]
hphp/test/slow/dot_hack/shebang_no_header.hack [new file with mode: 0644]
hphp/test/slow/dot_hack/shebang_no_header.hack.expect [new file with mode: 0644]
hphp/test/slow/dot_hack/shebang_with_header.hack [new file with mode: 0644]
hphp/test/slow/dot_hack/shebang_with_header.hack.expectf [new file with mode: 0644]
hphp/test/slow/dot_hack/with_header.hack [new file with mode: 0644]
hphp/test/slow/dot_hack/with_header.hack.expectf [new file with mode: 0644]