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 a bug preventing a subclass property sharing a name with a type parameter from being accessed #56690

Conversation

ssalbdivad
Copy link

Fixes #56689

I have very little context here so happy to adjust if there is a better way to resolve this. It just looked like it would be straightforward to resolve when I encountered so decided to give it a shot 🙏

@typescript-bot typescript-bot added the For Uncommitted Bug PR for untriaged, rejected, closed or missing bug label Dec 6, 2023
@ssalbdivad
Copy link
Author

@microsoft-github-policy-service agree

@MartinJohns
Copy link
Contributor

The same issue is fixed by #56626. @RyanCavanaugh You might want to compare this solution with yours.

@ssalbdivad
Copy link
Author

@MartinJohns Why would I want to do that, to make myself feel bad?😆

I'll close this as it seems like @RyanCavanaugh's PR will be merged soon.

I should have been more thorough review existing issues before looking at this anyways. I just thought unlike most of what I run into, it looked relatively approachable.

@ssalbdivad ssalbdivad closed this Dec 6, 2023
@fatcerberus
Copy link

Why would I want to do that, to make myself feel bad?

He meant that Ryan should compare the solution in #56626 to this one (to see which one is better), I think.

@ssalbdivad
Copy link
Author

@fatcerberus Ahh, well that would be a very generous appraisal of the likelihood that I have something to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Subclass property sharing name with type parameter can't be resolved
4 participants