BigEd / atalan

Automatically exported from code.google.com/p/atalan
MIT License
1 stars 0 forks source link

Move condition else case before if #74

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Covert

if b > 10
    d = 3
else
    d = 5

to

d = 5
if b > 10
    d = 3

This should be done only for conditions with simple branches.

Original issue reported on code.google.com by rudla.ku...@gmail.com on 25 Mar 2011 at 6:37

GoogleCodeExporter commented 9 years ago

Original comment by rudla.ku...@gmail.com on 25 Mar 2011 at 6:37

GoogleCodeExporter commented 9 years ago

Original comment by rudla.ku...@gmail.com on 21 Jan 2012 at 8:20