2007-07-31 | paulb | file changeset files shortlog | Changed the invocations annotation to be a set, and added fixing of the contents of such sets. Added a specialisations method to Subprogram, producing only subprograms related to distinct instances. |
paulb@106 | 1 | l = [(0, 10), (10, 20)] |
paulb@106 | 2 | y = 23 |
paulb@106 | 3 | for a, b in l: |
paulb@106 | 4 | for i in a, b: |
paul@0 | 5 | x = i |
paulb@106 | 6 | else: # NOTE: Need to support StopIteration! |
paul@0 | 7 | x = y |
paul@0 | 8 | else: |
paul@0 | 9 | a = b |