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@215 | 1 | #!/usr/bin/env python |
paul@215 | 2 | |
paul@215 | 3 | def f(): |
paul@215 | 4 | pass |
paul@215 | 5 | |
paul@215 | 6 | g = f |
paul@215 | 7 | |
paul@215 | 8 | def g(a, c, b): |
paul@215 | 9 | pass |
paul@215 | 10 | |
paul@215 | 11 | g(1, a=3, b=2) |
paul@215 | 12 | g(1, 2, 3, 4) # uncertain target - not detected |
paul@215 | 13 | |
paul@215 | 14 | # vim: tabstop=4 expandtab shiftwidth=4 |