Lichen

tests/assign_sequence.py

232:2d23fd9e64ec
2016-11-24 Paul Boddie Only generate signatures for generated literal instantiators.
     1 def f():     2     l = [1, 2, 3]     3     x = l     4     a, b, c = l     5     d, e, f = [1, 2, 3]     6     print a, b, c     7     print d, e, f     8     print x     9     10 def g(x):    11     l = [1, 2, 3]    12     m = [4, l, 6]    13     if x:    14         n = l    15     else:    16         n = m    17     print n    18     19 f()    20 g(0)    21 g(1)    22     23 l = [1, 2, 3]    24 x = l    25 a, b, c = l    26 d, e, f = [1, 2, 3]    27 print a, b, c    28 print d, e, f    29 print x    30 m = [4, l, 6]    31 if x:    32     n = l    33 else:    34     n = m    35 print n