Skip to content

Correctly track loop depth for nested functions/classes#15403

Merged
JukkaL merged 1 commit intopython:masterfrom
ilevkivskyi:fix-break-crash
Jun 9, 2023
Merged

Correctly track loop depth for nested functions/classes#15403
JukkaL merged 1 commit intopython:masterfrom
ilevkivskyi:fix-break-crash

Conversation

@ilevkivskyi
Copy link
Copy Markdown
Member

Fixes #15378

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jun 9, 2023

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

@JukkaL JukkaL merged commit 2c66cba into python:master Jun 9, 2023
@ilevkivskyi ilevkivskyi deleted the fix-break-crash branch June 9, 2023 15:39
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.

'break' in nested function causes an internal error

3 participants