Skip to content

JS: Fix missing flow into rest pattern lvalue#19283

Merged
asgerf merged 3 commits intogithub:mainfrom
asgerf:js/rest-pattern-fix
Apr 22, 2025
Merged

JS: Fix missing flow into rest pattern lvalue#19283
asgerf merged 3 commits intogithub:mainfrom
asgerf:js/rest-pattern-fix

Conversation

@asgerf
Copy link
Copy Markdown
Contributor

@asgerf asgerf commented Apr 11, 2025

We were missing a value step from one of the internal nodes in a ...rest pattern that would allow flow to react the corresponding SSA node. This manifested in getALocalSource not working. As far as I can tell, data flow still worked, though.

@github-actions github-actions Bot added the JS label Apr 11, 2025
Comment thread javascript/ql/test/library-tests/GetALocalSource/test.ql
@asgerf asgerf added the no-change-note-required This PR does not need a change note label Apr 11, 2025
@asgerf asgerf marked this pull request as ready for review April 11, 2025 13:17
@asgerf asgerf requested a review from a team as a code owner April 11, 2025 13:17
@asgerf asgerf merged commit c2cab18 into github:main Apr 22, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

JS no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants