consider only `define(string, ..)` as a form recognized by the emitter
commitfffe72d660d3f4ec1c84b945ed8a18dcd0ccb186
authorVladimir Matveev <vladima@fb.com>
Fri, 30 Jun 2017 02:34:13 +0000 (29 19:34 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 30 Jun 2017 03:00:33 +0000 (29 20:00 -0700)
tree4a515f2c047ec2416026553d8921d7a709c84289
parent0b41e92363d30715c23875dbc63ec875ac2c738d
consider only `define(string, ..)` as a form recognized by the emitter

Summary: `define` with other shapes of the first argument should be treated as a regular function call

Reviewed By: oulgen

Differential Revision: D5348286

fbshipit-source-id: 43a57e4fe9e8c09fa52ced9df2afad17dfeaa2ab
hphp/hack/src/hhbc/emit_expression.ml
hphp/hack/src/parser/full_fidelity_ast.ml
hphp/test/hhcodegen_failing_tests_slow