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

Make checkParameterizedTypeIsInstantiated recursive #2884

Closed
Tracked by #2482
darkdrag00nv2 opened this issue Oct 19, 2023 · 0 comments
Closed
Tracked by #2482

Make checkParameterizedTypeIsInstantiated recursive #2884

darkdrag00nv2 opened this issue Oct 19, 2023 · 0 comments

Comments

@darkdrag00nv2
Copy link
Contributor

darkdrag00nv2 commented Oct 19, 2023

Issue to be solved

#2523 (comment)

I think then the checkParameterizedTypeIsInstantiated must be recursive.
i.e: It should also look for the types nested within other types.

For e.g: An array of InclusiveRange (without the type parameter), can be defined without any errors.

let r: [InclusiveRange] = []    // no errors

Suggested Solution

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants