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
Update collect_references to use Prism::LexResult (#3590)
Update collect_references to use Prism::LexResult
In #3252, `RubyDocument#parse_result` becomes `Prism::ParseLexResult`,
which's `value` is an array instead of a single node.
And we forgot to update `collect_references` to account for this change
because the codepath was not covered in the test.
So this commit adds a test for the codepath and updates `collect_references`
to use `Prism::LexResult`.
0 commit comments