make inout on superglobals a parse errornightly-2019.10.29
commit8b41a389c1e317b6985678a1b13b378cb690d886
authorBill Fumerola <bill@fb.com>
Tue, 29 Oct 2019 02:20:58 +0000 (28 19:20 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 29 Oct 2019 02:22:54 +0000 (28 19:22 -0700)
treeeb9818893b91550d872539a365701433fa8aba9b
parent0cfda7a859bcb4de5e64d2e1a42e28bd75b57751
make inout on superglobals a parse error

Reviewed By: kmeht, periodic1236

Differential Revision: D18180457

fbshipit-source-id: 7b91ac5c403625655994f0091beda73bdc04af1e
hphp/hack/src/naming/naming_special_names.rs
hphp/hack/src/parser/rust_parser_errors.rs
hphp/hack/test/full_fidelity/cases/globals-references.php.errors.exp
hphp/hack/test/full_fidelity/cases/superglobal-reference.php.errors.exp
hphp/hack/test/typecheck/references/globals_by_ref.php.exp
hphp/hack/test/typecheck/references/globals_by_ref.php.legacy_decl.exp [new file with mode: 0644]
hphp/hack/test/typecheck/references/globals_by_ref.php.like_types.exp [new file with mode: 0644]