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

Don't mark ivar as nilable if super present and non-nilable (fix #4764) #4863

Merged
merged 1 commit into from Aug 31, 2017

Conversation

maxfierke
Copy link
Contributor

If initialize calls super and declares instance var that has already
been typed as non-nilable by an ancestor, it'll be non-nilable in the
child class.

Fixes #4764

If initialize calls super and declares instance var that has already
been typed as non-nilable by an ancestor, it'll be non-nilable in the
child class.

Fixes crystal-lang#4764
@RX14 RX14 merged commit f4cb617 into crystal-lang:master Aug 31, 2017
@RX14 RX14 added this to the Next milestone Aug 31, 2017
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.

None yet

3 participants