Reject interfaces that contain "use" declarations in code gen
commit6cbac794dbaa4522ac29bd7fe5c83d9c4629f8b6
authorAndrew Kennedy <akenn@fb.com>
Tue, 26 Sep 2017 19:31:29 +0000 (26 12:31 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 26 Sep 2017 19:37:08 +0000 (26 12:37 -0700)
tree0a161e3d9c747cc86685b4bf9b3ace0de88b3e01
parentd32427215e29426f2aea5b346ed5a4edc69b7954
Reject interfaces that contain "use" declarations in code gen

Summary: As it says on the tin. We need to emit Fatal Parse errors at runtime.

Reviewed By: hubyrod

Differential Revision: D5911360

fbshipit-source-id: 9953e4af45f3bfa4edce8b1a806ab89c444fc6c0
hphp/hack/src/hhbc/emit_class.ml
hphp/test/hhcodegen_failing_tests_quick