Skip to content

Type system prerequisites for spawning impl-style procs.#4207

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_911480348
May 7, 2026
Merged

Type system prerequisites for spawning impl-style procs.#4207
copybara-service[bot] merged 1 commit intomainfrom
test_911480348

Conversation

@copybara-service
Copy link
Copy Markdown

Type system prerequisites for spawning impl-style procs.

This change makes it so that

  • Type inference stores complete constexpr "results" for ProcDef constructors.
  • There is no need anymore to traverse ProcDef constructors in IR conversion.
  • Spawns of ProcDefs can be enumerated in a fashion similar to spawns of legacy procs, but simpler.

Note that in the current stack of changes, we do not yet support parametric procs or channel arrays.

@copybara-service copybara-service Bot force-pushed the test_911480348 branch 3 times, most recently from f08c4d6 to 3ad8d54 Compare May 7, 2026 15:36
This change makes it so that
* Type inference stores complete constexpr "results" for ProcDef constructors.
* There is no need anymore to traverse ProcDef constructors in IR conversion.
* Spawns of ProcDefs can be enumerated in a fashion similar to spawns of legacy procs, but simpler.

Note that in the current stack of changes, we do not yet support parametric procs or channel arrays.

PiperOrigin-RevId: 912014798
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant