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@59 | 1 | #!/usr/bin/env python |
paul@59 | 2 | |
paul@59 | 3 | class C: |
paul@137 | 4 | def __init__(self, x): |
paul@208 | 5 | self.x = x |
paul@59 | 6 | |
paul@137 | 7 | c = C(123) |
paul@230 | 8 | result_123 = c.x |
paul@59 | 9 | |
paul@59 | 10 | # vim: tabstop=4 expandtab shiftwidth=4 |