Skip to content

Conversation

@Morriar
Copy link
Contributor

@Morriar Morriar commented Jun 18, 2025

By default we won't translate generics, helpers and abstract methods to RBS.

It can be enabled separately:

$ spoom srb sigs translate --translate-generics --translate-helpers --translate-abstract-methods

@Morriar Morriar self-assigned this Jun 18, 2025
@Morriar Morriar requested a review from a team as a code owner June 18, 2025 21:48
@Morriar Morriar added the feature New feature label Jun 18, 2025
class A
extend T::Generic
A = type_member
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick - and I know it makes no actual difference for the test - but can we rename the type member so that it doesn't conflict with the class name?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, I also renamed it in the other test 👍

Morriar added 3 commits June 19, 2025 11:12
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
@Morriar Morriar merged commit fe91243 into main Jun 19, 2025
8 checks passed
@Morriar Morriar deleted the at-rbs-options branch June 19, 2025 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants