FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Unified: Data flow through enum constructors and operators by asgerf · Pull Request #22751 · github/codeql · GitHub

Repository navigation

Unified: Data flow through enum constructors and operators - #22751

Draft
asgerf wants to merge 9 commits into
github:mainfrom
asgerf:unified/more-data-flow
Draft

asgerf wants to merge 9 commits into
github:mainfrom
asgerf:unified/more-data-flow

Conversation

asgerf commented Oct 5, 2026 •
edited
Loading

Copy link
Copy Markdown
Contributor
  • Adds flow through enum constructors: we store into a field at a constructor call, and read fields at constructor patterns.
  • Also adds flow through try, try?, try!, as, as?, as!, and await operators.
  • Adds flow through array literals and for..in loops.

asgerf added the no-change-note-required This PR does not need a change note label Oct 5, 2026
Comment on lines +1 to +3
/**
* Provides data-flow modelling of constructor patterns / enum-case constructors.
*/
Comment on lines +18 to +20
/**
* Gets the unqualified name of the enum-case contructor that might be referenced by `call`.
*/
asgerf force-pushed the unified/more-data-flow branch from 7464ac1 to 416c972 Compare October 5, 2026 13:06
asgerf force-pushed the unified/more-data-flow branch from 416c972 to 3178aa1 Compare October 5, 2026 13:09

This branch has not been deployed

No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL