Skip to content

Use correct type for RBI::Sig#loc during translation#970

Merged
Morriar merged 1 commit into
mainfrom
at-fix-sig-loc
Jul 7, 2026
Merged

Use correct type for RBI::Sig#loc during translation#970
Morriar merged 1 commit into
mainfrom
at-fix-sig-loc

Conversation

@Morriar

@Morriar Morriar commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Found with Shopify/tapioca#2667.

Found with Shopify/tapioca#2667.

Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
@Morriar Morriar requested a review from a team as a code owner July 7, 2026 14:44
@Morriar Morriar self-assigned this Jul 7, 2026

@vinistock vinistock left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why didn't Sorbet catch this? Are we missing some signatures somewhere?

Or do we accept both RBI::Loc or Prism::Location?

@Morriar

Morriar commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

Why didn't Sorbet catch this? Are we missing some signatures somewhere?

Or do we accept both RBI::Loc or Prism::Location?

Because we were not generating typed writers for attr_accessor, see Shopify/tapioca#2667.

@Morriar Morriar merged commit f13a8a2 into main Jul 7, 2026
11 checks passed
@Morriar Morriar deleted the at-fix-sig-loc branch July 7, 2026 15:09
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