diff options
| author | eunhhu <[email protected]> | 2026-10-19 07:23:29 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-10-19 07:23:29 +0100 |
| commit | 6463228d028a4755ef819dcfbbf6426e3a9f8626 (patch) | |
| tree | 22e88a1c29dcef097611e2fbba4f83b9ee895f60 /tests/check.py | |
| parent | b116cf7b59db6a90b2d5146742bb838144fa831f (diff) | |
| download | aup-6463228d028a4755ef819dcfbbf6426e3a9f8626.tar.gz aup-6463228d028a4755ef819dcfbbf6426e3a9f8626.zip | |
Lists declared together: three names or more made the statements a cycle (each copy took the first's next, the copy before it), so the compiler never ended (found writing linebreak.aup's nine lists as two lines); frictions declares four
Diffstat (limited to 'tests/check.py')
| -rw-r--r-- | tests/check.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/check.py b/tests/check.py index 9368854..4a9daea 100644 --- a/tests/check.py +++ b/tests/check.py @@ -714,8 +714,10 @@ on go { ns.append(0) ns[0], ns[1] = 3, go.k b = b + ns[0] * 100 + ns[1] - let xs, ys: list of number + let xs, ys, zs, us: list of number let ps, qs: list of P + zs.append(1) + us.append(2) for w in 0 .. go.k { xs.append(w) ys.append(w * 2) @@ -731,7 +733,7 @@ on go { for v in xs { t = t + v } for v in ys { t = t + v * 100 } for p in ps { t = t + p.x * 10000 } - total = t + qs.count + total = t + qs.count + (zs.count + us.count - 2) * 1000000 } ''' |
