2009-11-23 | Paul Boddie | file changeset files shortlog | Added attribute usage registration for branches where more specific attribute usage occurs, but where such usage cannot be merged back into the active usage definition for a given name. This should ensure that attributes are not forgotten because their usage was not merged and carried forward. Added more specific tests. |
paul@239 | 1 | #!/usr/bin/env python |
paul@239 | 2 | |
paul@239 | 3 | a = 0 |
paul@239 | 4 | |
paul@239 | 5 | if a: |
paul@239 | 6 | b = 1 |
paul@239 | 7 | else: |
paul@239 | 8 | b = 2 |
paul@239 | 9 | |
paul@239 | 10 | result_2 = b |
paul@239 | 11 | |
paul@239 | 12 | # vim: tabstop=4 expandtab shiftwidth=4 |