Skip to content

rbs-inline#3933

Open
kddnewton wants to merge 1 commit intomainfrom
todos
Open

rbs-inline#3933
kddnewton wants to merge 1 commit intomainfrom
todos

Conversation

@kddnewton
Copy link
Collaborator

@kddnewton kddnewton commented Feb 18, 2026

Generate RBS through inline annotations instead of through maintaining separate RBS files.

I have wanted this for a while, but frankly it has been daunting to try to convert the whole codebase, and previously Steep would just hang. It looks like it has gotten better to the point where this is now possible. The typecheck:steep codebase will now first extract out inline type annotations and put them into the sig directory. You can effectively ignore all files in that directory for the purposes of review.

At present, this means basically the entire codebase is typechecked with steep, except the translation directory which depends on type signatures for parser/ripper/ruby_parser which do not exist.

@kddnewton kddnewton force-pushed the todos branch 3 times, most recently from e389ee6 to 6508059 Compare February 18, 2026 04:27
@eregon
Copy link
Member

eregon commented Feb 18, 2026

Nice!

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