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 validations for module-self-types and instance variables #308

Merged
merged 2 commits into from
Feb 24, 2021

Conversation

soutaro
Copy link
Owner

@soutaro soutaro commented Feb 24, 2021

RBS allows declaring module-self-types which is a requirement for classes or modules to mix-in the module. This PR implements a validation if the requirement is satisfied.

This PR also adds type checking for types of instance variables.

@soutaro soutaro merged commit 046d5ab into master Feb 24, 2021
@soutaro soutaro deleted the add-validations branch February 24, 2021 14:59
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.

1 participant