Skip to content

Use Source::Rewriter for RBS sigs and assertions translation. #734

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 16, 2025

Conversation

Morriar
Copy link
Collaborator

@Morriar Morriar commented May 15, 2025

As suggested by @vinistock in #733 (comment).

@Morriar Morriar self-assigned this May 15, 2025
@Morriar Morriar requested a review from a team as a code owner May 15, 2025 15:15
@Morriar Morriar force-pushed the at-rbs-rewriter-base branch 2 times, most recently from ae8427b to 58ef63c Compare May 15, 2025 15:51
Morriar added 6 commits May 15, 2025 11:54
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>
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 force-pushed the at-rbs-rewriter-base branch from 58ef63c to 7d19cd5 Compare May 15, 2025 15:54
@Morriar Morriar requested review from st0012 and vinistock May 15, 2025 16:10
@Morriar Morriar force-pushed the at-rbs-rewriter-base branch from 7d19cd5 to 287d56d Compare May 15, 2025 16:16
@file = file #: String

@original_encoding = ruby_contents.encoding #: Encoding
@ruby_contents = if ruby_contents.encoding == "UTF-8"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
@ruby_contents = if ruby_contents.encoding == "UTF-8"
@ruby_contents = if @original_encoding == "UTF-8"

Morriar added 2 commits May 15, 2025 16:17
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
@Morriar Morriar force-pushed the at-rbs-rewriter-base branch from 287d56d to 94d57fb Compare May 15, 2025 20:17
@Morriar Morriar merged commit 67acaa9 into main May 16, 2025
8 checks passed
@Morriar Morriar deleted the at-rbs-rewriter-base branch May 16, 2025 13:58
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.

3 participants