PY-81482 assert True in try triggers "This code is unreachable" after finally

(cherry picked from commit 9e5ea2546169cda70f2aaf810fa2f27d13cb102a)

IJ-MR-167790

GitOrigin-RevId: 2f6158133cd075f4b7155e8fe922dcfa85155085
This commit is contained in:
Aleksandr.Govenko
2025-06-13 18:53:05 +02:00
committed by intellij-monorepo-bot
parent 9575aedee8
commit 63a9e9092d
3 changed files with 20 additions and 5 deletions

View File

@@ -7,8 +7,8 @@
6(7,3) READ ACCESS: f
7(8,3) element: PyCallExpression: f
8(9,10,3) READ ACCESS: True
9(11) element: null. Condition: True:false
10(12) element: null. Condition: True:true
9(11,3) element: null. Condition: True:false
10(12,3) element: null. Condition: True:true
11(14,3) raise: PyAssertStatement
12(13,3) element: PyPrintStatement
13(14) element: PyPrintStatement