Remove TAST checks associated with parser-banned $GLOBALSnightly-2020.11.10
commit7e693fdfed04b918285c4d02d531b80020b52b87
authorLeo Osvald <leoo@fb.com>
Tue, 10 Nov 2020 01:02:00 +0000 (9 17:02 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 10 Nov 2020 01:04:33 +0000 (9 17:04 -0800)
tree4e1ca35af6e8cceb071bdc89cc545cfb7b3644cb
parent9bcd88fac852ed73966c21c2101fb31b44f8325f
Remove TAST checks associated with parser-banned $GLOBALS

Summary:
It has been a while since $GLOBALS was removed from parser and is no longer a keyword,
therefore it is redundant to ban those in TAST checks for reactivity.

Reviewed By: DavidSnider, oulgen

Differential Revision: D24600611

fbshipit-source-id: c4a4249ccabef71fc604786b86079564d39f9add
hphp/hack/src/naming/naming.ml
hphp/hack/src/typing/tast_check/basic_reactivity_check.ml