Skip to content

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

Merged
bcardiff merged 3 commits intocrystal-lang:masterfrom
bcardiff:revert-ivar
Aug 6, 2018
Merged

Revert restrictict exp.@var to types in the same hierarchy#6484
bcardiff merged 3 commits intocrystal-lang:masterfrom
bcardiff:revert-ivar

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