Implement full fidelity lowering and HackC code generation for using statement
commitbc02d16d9137a44b9646095dae43ca53a61b8dee
authorOguz Ulgen <oulgen@fb.com>
Tue, 17 Oct 2017 23:34:00 +0000 (17 16:34 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 17 Oct 2017 23:42:07 +0000 (17 16:42 -0700)
treee121b84c1bff1491dd22a5b6e93bc6bc39342a9a
parentc198b6801db6cbe3d577fe70216d80adc9b155a9
Implement full fidelity lowering and HackC code generation for using statement

Summary:
This diff implements full fidelity lowering and HackC code generation for the using statement.

It is missing error checking for incorrect uses of the using statement. We are planning to add this error checking when we are able to propagate error from FFP to codegen.

Reviewed By: hubyrod

Differential Revision: D6000423

fbshipit-source-id: 1728a2b5f43360cf8ee6e9178d5555d1651d217b
hphp/hack/src/hhbc/closure_convert.ml
hphp/hack/src/hhbc/emit_expression.ml
hphp/hack/src/hhbc/emit_statement.ml
hphp/hack/src/parser/full_fidelity_ast.ml
hphp/test/hhcodegen_failing_tests_slow