Skip to content

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

@asgerf asgerf commented Oct 5, 2026 •

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 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
asgerf force-pushed the unified/more-data-flow branch from 7464ac1 to 416c972 Compare October 5, 2026 13:06
@asgerf
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
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