WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@straight-shoota
Copy link
Member

This part of the documentation was causing confusion, so I'm expanding a bit on the preconditions for type inference.

https://forum.crystal-lang.org/t/do-you-need-to-specify-a-type-for-class-variables/6876/2

@crysbot
Copy link

crysbot commented May 28, 2024

This pull request has been mentioned on Crystal Forum. There might be relevant details there:

https://forum.crystal-lang.org/t/do-you-need-to-specify-a-type-for-class-variables/6876/3

@beta-ziliani
Copy link
Member

Perhaps a clarification is in order, but it isn't different from instance vars, so why be specific about it here?

@zw963
Copy link
Contributor

zw963 commented Dec 14, 2024

@nobodywasishere , @straight-shoota , @beta-ziliani

ping, did you folks forget to merge this?

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.

5 participants