Fix an hhbbc crash
commit8c361f6866785b39b6b822ad4b75363ae607aa1a
authorMark Williams <mwilliams@fb.com>
Wed, 1 Aug 2018 13:15:53 +0000 (1 06:15 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 1 Aug 2018 13:27:29 +0000 (1 06:27 -0700)
treec471a13efb0f3d3e91a6f1ce88c0b5901b9d9da9
parent5ff75c25df6296574509af3af6eacf0702dd4ed5
Fix an hhbbc crash

Summary:
The new test case would crash in hhbbc because although TVecE
is_scalar, scalarize didn't canonicalize it to TSVecE.

Reviewed By: ricklavoie

Differential Revision: D9114814

fbshipit-source-id: 2a031c13f69f99152a80d9f3ddfd503bfe729e7a
hphp/hhbbc/type-system.cpp
hphp/test/slow/compilation/crash.php [new file with mode: 0644]
hphp/test/slow/compilation/crash.php.expect [new file with mode: 0644]
hphp/test/slow/compilation/crash.php.hphp_opts [new file with mode: 0644]