Skip to content

fix Stack overflow with recursive enum class #3437#4121

Open
asukaminato0721 wants to merge 1 commit into
facebook:mainfrom
asukaminato0721:3437
Open

fix Stack overflow with recursive enum class #3437#4121
asukaminato0721 wants to merge 1 commit into
facebook:mainfrom
asukaminato0721:3437

Conversation

@asukaminato0721

Copy link
Copy Markdown
Contributor

Summary

Fixes #3437

Removed the recursive Flag subtype check and moved Flag detection downstream.

Test Plan

add test

@github-actions

Copy link
Copy Markdown

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stack overflow with recursive enum class

1 participant