You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix Go-to definition only finds definition from one element in a union #1470 (#1569)
Summary:
fix#1470
Playground has this issue in the sandbox because its go-to-definition call only returned the first Range, even though the core analyzer already reports every branch of a union.
Now collects every TextRangeWithModule from the transaction.goto_definition instead of truncating to the first match, serializes all of those ranges so the wasm bridge preserves the multiplicity.
Pull Request resolved: #1569
Reviewed By: stroxler
Differential Revision: D86973443
Pulled By: yangdanny97
fbshipit-source-id: 98332098260745edac0bbaef3461923ee718729c
0 commit comments