Remove local memoization to ensure we get up-to-date positions from Decl_provider
commit2ede673ea819e876f8f8a399db6b4ad9f321ae64
authorMichael Thomas <mjt@fb.com>
Fri, 12 Feb 2021 13:37:28 +0000 (12 05:37 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 12 Feb 2021 13:39:24 +0000 (12 05:39 -0800)
tree90a73f345bf5d59c8fb2f15bb5d83753406fc6c3
parent8ccc2c4a0a778106b8f506f4da96d2623d49c74d
Remove local memoization to ensure we get up-to-date positions from Decl_provider

Summary: A memoized helper function was causing positions to become out of date; this diff removes the local memoization and relies on caching in the ~~decl~~ ast provider

Reviewed By: andrewjkennedy

Differential Revision: D26421333

fbshipit-source-id: 7b579095d6bab3f4a16e4bc960b22b613db85423
hphp/hack/src/server/serverExtractStandalone.ml