Files
codeql/python/ql/test/query-tests/Statements/unreachable/UnreachableCode.expected
Taus 918c05c538 Python: Don't prune any MatchLiteralPatterns
Extends the mechanism introduced in
https://github.com/github/codeql/pull/18030
to behave the same for _all_ `MatchLiteralPattern`s, not just the ones
that happen to be the constant `True` or `False`.

Co-authored-by: yoff <yoff@github.com>
2025-02-11 12:58:52 +00:00

7 lines
397 B
Plaintext

| test.py:8:9:8:28 | AssignStmt | This statement is unreachable. |
| test.py:10:9:10:28 | Return | This statement is unreachable. |
| test.py:16:9:16:21 | ExprStmt | This statement is unreachable. |
| test.py:21:5:21:38 | For | This statement is unreachable. |
| test.py:28:9:28:21 | ExprStmt | This statement is unreachable. |
| test.py:84:5:84:21 | ExceptStmt | This statement is unreachable. |