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

Add Resolver::ConstantResolver and Resolver::TypeNameResolver #938

Merged
merged 3 commits into from
Mar 31, 2022

Conversation

soutaro
Copy link
Member

@soutaro soutaro commented Mar 28, 2022

They transform relative constant and type name to absolute ones under a context.

  • TypeNameResolver takes account of module nesting, but ignores mixin/inheritance
  • ConstantResolver takes account of both module nesting and mixin/inheritance

@soutaro soutaro enabled auto-merge March 31, 2022 13:24
@soutaro soutaro merged commit ba0334b into master Mar 31, 2022
@soutaro soutaro deleted the const-resolver branch March 31, 2022 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant