Unreachable code

Hi, 

I found the annoying bug in latest Pycharm version.  The IDE shows information about unreachable code with no reason. The example code:



The IDE details:

PyCharm 2025.2.0.1
Build #PY-252.23892.515, built on August 11, 2025
Source revision: a49d407cfb992
Licensed to Sebastian Romanczukiewicz
Subscription is active until September 17, 2025.
Runtime version: 21.0.7+6-b1038.58 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.X11.XToolkit
Linux 6.14.0-27-generic
Ubuntu 24.04.3 LTS; glibc: 2.39
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 3970M
Cores: 8
Registry:
 ide.experimental.ui=true
 eslint.additional.file.extensions=svelte
Non-Bundled Plugins:
 org.jetbrains.junie (252.264.89)
 com.intellij.kubernetes (252.23892.464)
 com.intellij.ml.llm (252.23892.530)
 name.kropp.intellij.makefile (252.23892.201)
 com.intellij.grazie.pro (0.3.390)
 dev.meanmail.plugin.nginx-intellij-plugin (2025.17)
 com.jmpeax.ssltoolbox (0.1.5)
 net.ashald.envfile (3.4.2)
 dev.blachut.svelte.lang (252.23892.298)
Current Desktop: ubuntu:GNOME


 

0

Hello, Sebastian Romańczukiewicz,

It looks like it is a recent bug PY-82321.  Please vote for it to receive updates regarding its status. To learn more about using YouTrack, please refer to this article.

0

请先登录再写评论。