Skip to content

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