Deprec wrapper appears above method & docblock
commit830e183a2adff809a1d23144f525f422b216dbce
authorConder Shou <cshou@fb.com>
Tue, 24 Jul 2018 21:10:32 +0000 (24 14:10 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 24 Jul 2018 21:13:48 +0000 (24 14:13 -0700)
treed2f3bf558e8c787b1b5afedcb497c8f43a488155
parentef64508c72205a490e143f52df120f461cbacc2c
Deprec wrapper appears above method & docblock

Summary:
If the function body is really long, adding a deprecated wrapper below the function might make it difficult for people to notice it.

Instead, we make the deprecated wrapper appear above the old function & its docblock.

Reviewed By: arxanas

Differential Revision: D8963310

fbshipit-source-id: 0cdc315d1f19a467525cb0aba78f2c890bb4f724
hphp/hack/src/server/serverRefactor.ml
hphp/hack/src/utils/pos.mli