Fix error message for calling an undefined method with inout paramsnightly-2019.09.15
commit0ac962f46452b51c8278f8681d3456f0566ff604
authorEdwin Smith <smith@fb.com>
Sat, 14 Sep 2019 22:17:52 +0000 (14 15:17 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Sat, 14 Sep 2019 22:19:43 +0000 (14 15:19 -0700)
tree316540db94beedd5a7818859ce0303c9d4f41a8c
parent922c61ad64d6e4392e4d9a7e13b247095969e40f
Fix error message for calling an undefined method with inout params

Summary:
before: "C undefined method Call to::g()"
after:  "Call to undefined method C::g()"

Reviewed By: ricklavoie

Differential Revision: D17384079

fbshipit-source-id: c95fbed73b50e05caec42beacfa9da274c1ddf6c
hphp/runtime/base/runtime-error.cpp
hphp/test/slow/inout/undefined-method.php [new file with mode: 0644]
hphp/test/slow/inout/undefined-method.php.expectf [new file with mode: 0644]