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

Fix restriction of numeral generic argument against non-free variable Path #12784

Conversation

HertzDevil
Copy link
Contributor

Fixes #11859.

@HertzDevil HertzDevil added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler:generics labels Nov 27, 2022
@HertzDevil HertzDevil changed the title Do not restrict numeral generic arguments against Paths as free variables Fix restriction of numeral generic argument against non-free variable Path Nov 27, 2022
@HertzDevil HertzDevil marked this pull request as draft November 27, 2022 13:05
Copy link
Member

@sdogruyol sdogruyol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @HertzDevil 🙏

@HertzDevil HertzDevil marked this pull request as ready for review December 2, 2022 13:39
@straight-shoota straight-shoota added this to the 1.7.0 milestone Dec 2, 2022
@straight-shoota straight-shoota merged commit 33b1920 into crystal-lang:master Dec 5, 2022
@HertzDevil HertzDevil deleted the bug/single-path-generic-arg-num branch December 8, 2022 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:compiler:generics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generics do not restrict integer parameters in method calls
3 participants