Skip to content

fix: disallow products on task generators - #996

Merged
tobiasraabe merged 4 commits into
mainfrom
codex/restrict-task-generator-products
Sep 20, 2026
Merged

tobiasraabe merged 4 commits into
mainfrom
codex/restrict-task-generator-products

Conversation

@tobiasraabe

@tobiasraabe tobiasraabe commented Sep 20, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Reject return annotations and produces function arguments on task generators.
  • Ignore @task(produces=...) return products on task generators.
  • Clarify the documented contract and add regression tests.

@tobiasraabe
tobiasraabe added this pull request to the merge queue Sep 20, 2026
Merged via the queue into main with commit f4686b4 Sep 20, 2026
23 checks passed
@tobiasraabe
tobiasraabe deleted the codex/restrict-task-generator-products branch September 20, 2026 11:13
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