incorrect 'unreachable code' warning

hi there.

i have some specific block of code in my class that get's recognized by reshaper as unreachable. While it's not .

I wonder if it's a good idea to add some sort of 'ignore' feature for the heuristics of reshaper to override specific warning, and not the whole type of warnings (like right now in options), coz it's still a great this to have.

thanks in advance

eli

1 comment
Comment actions Permalink

Hello Eli,

could you please submit a bug request to the tracker with an example of code
snippet on which
the problem can be observed?

Not sure if I understand the idea of 'ignore' feature with regard to
specific warnings. It would be helpful
if you clarify how this feature can look like. Currently ReSharper is able
to skip certain #regions (like those generated by VS designers) during code
analysis because such regions may contain redundant casts or smth else
that causes ReSharper warnings, but you cannot safely edit them anyway.

"eli yukelzon" <no_mail@jetbrains.com> wrote in message
news:26048781.1088778376002.JavaMail.itn@is.intellij.net...

hi there.

>

i have some specific block of code in my class that get's recognized by

reshaper as unreachable. While it's not .
>

I wonder if it's a good idea to add some sort of 'ignore' feature for the

heuristics of reshaper to override specific warning, and not the whole type
of warnings (like right now in options), coz it's still a great this to
have.
>

thanks in advance

>

eli



0

Please sign in to leave a comment.