fix emit_load_list_elements and closure_convert
commit5bf8507a8127f06330655ab83ec2a289d95aeec6
authorSteve Cao <shiqicao@fb.com>
Mon, 9 Mar 2020 20:19:20 +0000 (9 13:19 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 9 Mar 2020 20:33:17 +0000 (9 13:33 -0700)
tree3a26e0c5aaddfd0858464d585ff09ff1ae8fd0b5
parent157db0297f5f68f23811a5346928d890d70aaed3
fix emit_load_list_elements and closure_convert

Summary:
- fixed a bug in closure_convert,
- fixed a bug due to mutability mismatch between Ocaml and Rust

Differential Revision: D20333345

fbshipit-source-id: 7dab805b292ebf890fdbe82238b62c686ccb12c8
hphp/hack/src/hhbc/closure_convert.rs
hphp/hack/src/hhbc/emit_statement.rs