Improve hover information inside expression tree literals
commit154bca4534f8aaace72ebf93873d3e852d74b2da
authorWilfred Hughes <wilfred@fb.com>
Wed, 26 May 2021 23:22:26 +0000 (26 16:22 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 26 May 2021 23:23:27 +0000 (26 16:23 -0700)
tree5e3cada2a78132457405ca419937584845cebb4b
parentad4220f5fca6e9a856730d122d9951b731836a56
Improve hover information inside expression tree literals

Summary: Use the information from the virtualised expression and ignore the runtime expression. The virtualized expression has more precise types, whereas the runtime expression is unityped.

Differential Revision: D28307760

fbshipit-source-id: 04736d48f36ba754522d0ee3eb1355974b5ee292
hphp/hack/src/server/identifySymbolService.ml
hphp/hack/test/hover/HH_FLAGS [new file with mode: 0644]
hphp/hack/test/hover/expression_tree.php [new file with mode: 0644]
hphp/hack/test/hover/expression_tree.php.exp [new file with mode: 0644]