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

Allow the empty instantiation NamedTuple() #12009

Merged

Conversation

HertzDevil
Copy link
Contributor

Follow-up to #11906. Allows the Generic node NamedTuple() to resolve to the NamedTuple instantiation with no elements. Generic nodes will still fail to resolve if their name refers to the top-level NamedTuple and any positional type variables are found.

@beta-ziliani beta-ziliani added this to the 1.5.0 milestone Apr 19, 2022
@straight-shoota straight-shoota merged commit 5d394bc into crystal-lang:master Apr 27, 2022
@HertzDevil HertzDevil deleted the feature/empty-namedtuple branch April 28, 2022 09:09
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