Test for concrete redeclaration of concrete class constants
commit50b26b138fd912eba58673ded671473d5ba1a9da
authorKaty Voor <voork@fb.com>
Wed, 28 Aug 2019 02:46:21 +0000 (27 19:46 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 28 Aug 2019 02:50:09 +0000 (27 19:50 -0700)
treed10e54a0a171a65c720fdefe2feadb30b621da4a
parentf68a8d423618c7ef51089caa76bf03450a6d5ecd
Test for concrete redeclaration of concrete class constants

Summary:
- This test serves to illustrate new behavior in next diff.
- There is currently no coverage for:
  - concrete declaration of a class constant redeclaring another concrete declaration.
  - abstract declaration of a class constant redeclaring another abstract declaration.

Reviewed By: kmeht

Differential Revision: D16904085

fbshipit-source-id: e39e7c55c4a9639331c3effebe98e720bc2c8d70
hphp/hack/test/typecheck/abstract_redeclare_abstract_class_constant.php [new file with mode: 0644]
hphp/hack/test/typecheck/abstract_redeclare_abstract_class_constant.php.exp [new file with mode: 0644]
hphp/hack/test/typecheck/abstract_redeclare_abstract_class_constant_bad.php [new file with mode: 0644]
hphp/hack/test/typecheck/abstract_redeclare_abstract_class_constant_bad.php.exp [new file with mode: 0644]
hphp/hack/test/typecheck/concrete_redeclare_concrete_class_constant.php [new file with mode: 0644]
hphp/hack/test/typecheck/concrete_redeclare_concrete_class_constant.php.exp [new file with mode: 0644]
hphp/hack/test/typecheck/concrete_redeclare_concrete_class_constant_bad.php [new file with mode: 0644]
hphp/hack/test/typecheck/concrete_redeclare_concrete_class_constant_bad.php.exp [new file with mode: 0644]