Skip to content

Add missing block parameter to system override - #544

Open
vinistock wants to merge 1 commit into
mainfrom
vs_add_missing_block_parameter
Open

vinistock wants to merge 1 commit into
mainfrom
vs_add_missing_block_parameter

Conversation

@vinistock

Copy link
Copy Markdown
Member

This autoloaded test helper overrides the real CLI::Kit::System#system without declaring the block parameter. This is an issue for gem RBI generation because Tapioca has to ensure all autoloads are triggered to generate complete RBIs, but the test version ends up winning and we generate an incorrect RBI saying that CLI::Kit::System#system doesn't accept a block.

This PR just adds the missing block parameter and ensures that we're passing it to the original.

@vinistock vinistock self-assigned this Sep 21, 2026
@vinistock
vinistock requested a review from a team September 21, 2026 17:29

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants