Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Checks Instance and Literal subtypes correctly, refs #11232 - #11236

Merged
JukkaL merged 3 commits into
python:masterfrom
sobolevn:issue-11232
Oct 1, 2021
Merged

Checks Instance and Literal subtypes correctly, refs #11232#11236
JukkaL merged 3 commits into
python:masterfrom
sobolevn:issue-11232

Conversation

@sobolevn

Copy link
Copy Markdown
Member

Closes #11232
Closes #7399

@JukkaL JukkaL left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nice, such a small change fixes a pretty thorny issue. Thanks!

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.

Boolean literals not recognized as Literals Cannot infer return type if using Union[Tuple[Literal[]]...]

2 participants