Skip to content

Skip to non null targets in error messages #25287

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

Merged
merged 5 commits into from
Jun 29, 2018

Conversation

DanielRosenwasser
Copy link
Member

This pull request makes it so that when failing to relate any type

Foo

to a type like

Bar | null | undefined

our error messages will skip ahead to reporting issues between Foo and Bar provided that Foo is an object or primitive type that isn't null, void, or undefined.

Fixes #25086.

@DanielRosenwasser DanielRosenwasser changed the title Skip to non null targets Skip to non null targets in error messages Jun 28, 2018
@DanielRosenwasser DanielRosenwasser merged commit f23c180 into master Jun 29, 2018
@DanielRosenwasser DanielRosenwasser deleted the skipToNonNullTargets branch June 29, 2018 05:26
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.

2 participants