Skip to content
Discussion options

You must be logged in to vote

After further investigation by the team, we have concluded that this example is an instance of #432.

with A[E.A] & (B | C) == (A[E.A] & B) | (A[E.A] & C). The A[E.A] & C should become Never and disappear, leaving only the A[E.A] & B, which simplifies to B.

I've added this example to #432. Please leave an upvote.

Thank you very much for using basedmypy and starting this discussion. 🚀

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@KotlinIsland
Comment options

@KotlinIsland
Comment options

@KotlinIsland
Comment options

Answer selected by KotlinIsland
@KotlinIsland
Comment options

@zevbo
Comment options

@zevbo
Comment options

@KotlinIsland
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants