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

Revert restrictict exp.@var to types in the same hierarchy #6484

Merged
merged 3 commits into from
Aug 6, 2018

Conversation

bcardiff
Copy link
Member

@bcardiff bcardiff commented Aug 4, 2018

This reverts #6358 to avoid an unwanted breaking change in the next release but keeps two of the refactors introduced in that PR.

  • Refactor: Char & IO related non UTF-8 encoding check
  • Refactor: Crystal::Call#check_visibility and extract type methods

@asterite
Copy link
Member

asterite commented Aug 4, 2018

Why the Char & IO refactor are preserved? Checking against the instance variable is simpler.

@bcardiff
Copy link
Member Author

bcardiff commented Aug 4, 2018

@asterite I just think it's easier to read

@bcardiff bcardiff merged commit 12a6d99 into crystal-lang:master Aug 6, 2018
@luislavena luislavena mentioned this pull request Aug 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants