ignore soft annotation for Awaitable<void> and Awaitable<mixed> when emitting metadata
commit9b1f53360d2f1c80fcf097fa76e9cc9e56fc45c1
authorVladimir Matveev <vladima@fb.com>
Wed, 26 Jul 2017 03:32:47 +0000 (25 20:32 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Wed, 26 Jul 2017 03:44:28 +0000 (25 20:44 -0700)
treec32754a0ec5f5a8106b4a907350e3bb6b7b11378
parentd2ae4496f6211a71e1b43906ecc59c89dc4f9808
ignore soft annotation for Awaitable<void> and Awaitable<mixed> when emitting metadata

Summary: Do not emit extended metadata when method has soft annotation on Awaitable<void> or Awaitable<mixed>

Reviewed By: oulgen

Differential Revision: D5492346

fbshipit-source-id: d86e16c0502640ea21fdb0103b9493b13337cadc
hphp/hack/src/hhbc/emit_type_hint.ml
hphp/test/hhcodegen_failing_tests_quick
hphp/test/hhcodegen_failing_tests_slow