Hack codegen: fixes for string interpolation
commit58bff2d85d4bf3a82c58eeb4a0ba85a7dfcc2dd1
authorAndrew Kennedy <akenn@fb.com>
Thu, 23 Mar 2017 14:02:18 +0000 (23 07:02 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Thu, 23 Mar 2017 14:08:06 +0000 (23 07:08 -0700)
tree1424a928add2411d1ee83d8c2953b0d895425b21
parentcc6aabb6de3f59e08effe5f1263f8c88267ae9cb
Hack codegen: fixes for string interpolation

Summary: We weren't generating CGetL2 instructions correctly. And singletons (e.g. `"$x"`) are possible.

Reviewed By: oulgen

Differential Revision: D4757235

fbshipit-source-id: 7541a9b90bd6e7406eabc0970528f60a6dd44ff3
hphp/hack/src/hhbc/hhbc_from_nast.ml