Make Hack report an error when you call a static method on an interface.
commit76f42d35d24fda04dfcaaf8331dda5ac9758cb11
authorWill Pitts <wipi@fb.com>
Thu, 19 Oct 2017 00:45:17 +0000 (18 17:45 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Thu, 19 Oct 2017 00:58:30 +0000 (18 17:58 -0700)
treec8701b717bf57ab2b156473a66c3b1a6a4310148
parentb84fac524cdd89d3cac6c6552f7d94a0c93c6f06
Make Hack report an error when you call a static method on an interface.

Summary: Make Hack report an error when a static method is called on an interface.

Reviewed By: jamesjwu

Differential Revision: D6073973

fbshipit-source-id: 85a1135ba56b40ac8f01d2527ec321c9bf815d7d
hphp/hack/src/typing/typing.ml
hphp/hack/src/utils/errors/errors.ml
hphp/hack/src/utils/errors/errors_sig.ml
hphp/hack/test/typecheck/interface_static_method.php [new file with mode: 0644]
hphp/hack/test/typecheck/interface_static_method.php.exp [new file with mode: 0644]