Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Feb 16, 2012 3:51:53 AM |
Updated | Feb 16, 2012 3:51:53 AM |
Priority | Normal |
Type | Feature |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Unassigned |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
class Program { static bool Foo(int x,int y) { bool result = x > 0; if(y > 0) { result = true; } return result; } }
Expected result after simplification:
class Program { static bool Foo(int x, int y) { bool result = x > 0 || y > 0; return result; } }