Move gconst initalization check from typing to tast_check (8/n)
commitccebd9599762be7450602e03d54b7653ac633550
authorMaggie Moss <maggiemoss@fb.com>
Thu, 31 Jan 2019 18:52:08 +0000 (31 10:52 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Thu, 31 Jan 2019 19:24:56 +0000 (31 11:24 -0800)
tree45ddd88375ab0e287bf8745aa287a60aae9d43fd
parent0f93a261a7e7e9060f7a2d4ec87ee0751f7a138d
Move gconst initalization check from typing to tast_check (8/n)

Summary: Ask: Removing this check did not cause any tests to fail, I am wondering if there's ever a scenario where a const would be uninstantiable?

Reviewed By: kmeht

Differential Revision: D13811181

fbshipit-source-id: 8b87480bb135b9e4d88b90302c7f82d09f74f4ad
hphp/hack/src/typing/tast_check/instantiability_check.ml
hphp/hack/src/typing/typing.ml