Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-287482: Code cleanup chops my conditionals incorrectly

$
0
0
Reporter Duncan Kimpton (dgkimpton) Duncan Kimpton (dgkimpton)
Created Dec 29, 2011 12:34:31 PM
Updated Jan 2, 2012 3:01:00 PM
Resolved Jan 2, 2012 3:01:00 PM
Priority Normal
Type Bug
Fix versions No Fix versions
State Can't Reproduce
Assignee Evgeny Pasynkov (pasynkov)
Subsystem Code Cleanup
Affected versions 6.1
Fixed in build No Fixed in build
I have the option 'Force chop compound condition in "if" statement' set to On.

Unfortunately in 6.1 it chops all my conditionals.

e.g.

{code lang=C#}
if (x>y)
{
}

becomes

{code lang=C#}
if (x
    > y)
{
}


Which I can't imagine is what anyone wants ever...

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>