Skip to content
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

Avoid naming conflict for URI::Source #2166

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Jan 24, 2025

Motivation

The implementation of URI::Source is shared between Tapioca and the Ruby LSP, but using the exact same name leads to weird conflicts and unnecessary warnings.

I propose we rename the class to Tapioca::SourceURI, just to avoid the conflict.

Implementation

Rename the class and occurrences.

Tests

There are no functional changes. Current tests should cover it.

@vinistock vinistock added the chore label Jan 24, 2025 — with Graphite App
@vinistock vinistock self-assigned this Jan 24, 2025
Copy link
Member Author

vinistock commented Jan 24, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vinistock vinistock requested review from andyw8 and KaanOzkan January 24, 2025 14:36
@vinistock vinistock marked this pull request as ready for review January 24, 2025 14:37
@vinistock vinistock requested a review from a team as a code owner January 24, 2025 14:37
@vinistock vinistock merged commit e49b236 into main Jan 24, 2025
54 checks passed
Copy link
Member Author

Merge activity

  • Jan 24, 10:29 AM EST: A user merged this pull request with Graphite.

@vinistock vinistock deleted the 01-24-avoid_naming_conflict_for_uri_source_ branch January 24, 2025 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants