Skip to content

C#: Delete CFG for static assignables.#21462

Closed
aschackmull wants to merge 1 commit intogithub:mainfrom
aschackmull:csharp/no-static-assignable-cfg
Closed

C#: Delete CFG for static assignables.#21462
aschackmull wants to merge 1 commit intogithub:mainfrom
aschackmull:csharp/no-static-assignable-cfg

Conversation

@aschackmull
Copy link
Contributor

Initializers for static assignables currently have "free-standing" CFG snippets instead of existing within a callable. Ideally we'd introduce a callable in the extractor to wrap them and their CFG, but let's first see if we can simply get rid of those small CFG snippets.

This is motivated by the shift to the shared CFG library where we need CFG scopes to be Callables.

@github-actions github-actions bot added the C# label Mar 12, 2026
@aschackmull aschackmull force-pushed the csharp/no-static-assignable-cfg branch from 616c93f to 38d2bbb Compare March 12, 2026 09:53
@aschackmull
Copy link
Contributor Author

Hmm, this is no good - data flow currently depends on cfg nodes. Closing.

@aschackmull aschackmull deleted the csharp/no-static-assignable-cfg branch March 12, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant