Skip to content

[rbs diff] Resolve constants name#1601

Merged
soutaro merged 1 commit into
ruby:masterfrom
ksss:diff-constant-resolver
Nov 9, 2023
Merged

[rbs diff] Resolve constants name#1601
soutaro merged 1 commit into
ruby:masterfrom
ksss:diff-constant-resolver

Conversation

@ksss
Copy link
Copy Markdown
Collaborator

@ksss ksss commented Nov 8, 2023

rbs diff command compares methods with their definitions resolved, but for constants, the comparison is a simple decl.

In this PR, constants are now compared as references from the specified type name by name resolution.

Copy link
Copy Markdown
Member

@soutaro soutaro left a comment

Choose a reason for hiding this comment

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

👍

@soutaro soutaro added this to the RBS 3.3 milestone Nov 9, 2023
@soutaro soutaro added this pull request to the merge queue Nov 9, 2023
Merged via the queue into ruby:master with commit 41e3902 Nov 9, 2023
@ksss ksss deleted the diff-constant-resolver branch November 9, 2023 05:33
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