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

Use elipses for reverse mapped types in nested positions #28494

Conversation

weswigham
Copy link
Member

Doesn't fix #23897 per sey, but makes it more apparent that we're eliding information in quickinfo (and not typechecking things wrong).

This is similar to the change I made in #28490 to make self-recursion locations print as ... instead of any.

There's still the issue of declaration emit for these types and such (and that today they emit as any without being an error) - having some way to alias a reverse mapped type in general would go a long way towards making these print better, I think.

@weswigham weswigham merged commit 004dc89 into microsoft:master Nov 13, 2018
@weswigham weswigham deleted the use-elipses-for-reverse-mapped-type-nesting branch November 13, 2018 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Repeated mapped type inference causes incorrect typeToString results
2 participants