Skip to content

Conversation

@hauntsaninja
Copy link
Contributor

@hauntsaninja hauntsaninja commented Apr 29, 2022

This change is similar to that in #32069

The goal here is to reduce potential confusion between
assert_never(val) and assert False

This change is similar to that in python#32069
@AlexWaygood
Copy link
Member

Maybe line 2361 could also be changed: "succeed" -> "pass a type check"?

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants