Commit 76b55c4
authored
QL: Split up
Previously, we had `Aggregate` and `ExprAggregate` as separate classes,
the latter of which representing aggregates that contain only an
expression.
This was a problem for the `rank` aggregate, as it inherited from
`Aggregate`, but _could_ also contain just an expression (even if this
is rather rare).
To fix this, I renamed `Aggregate` to `FullAggregate` (to make the
division clearer), and added a new type `Aggregate` that represents the
union of these two types. Now `Rank` can inherit from the new class
`Aggregate` and everything is dandy.Aggregate properly1 parent 8d17a95 commit 76b55c4
3 files changed
Lines changed: 30 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1392 | 1392 | | |
1393 | 1393 | | |
1394 | 1394 | | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
1395 | 1401 | | |
1396 | 1402 | | |
1397 | 1403 | | |
1398 | 1404 | | |
1399 | | - | |
| 1405 | + | |
1400 | 1406 | | |
1401 | 1407 | | |
1402 | 1408 | | |
| |||
1411 | 1417 | | |
1412 | 1418 | | |
1413 | 1419 | | |
1414 | | - | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
1415 | 1423 | | |
1416 | 1424 | | |
1417 | 1425 | | |
| |||
1457 | 1465 | | |
1458 | 1466 | | |
1459 | 1467 | | |
1460 | | - | |
| 1468 | + | |
1461 | 1469 | | |
1462 | 1470 | | |
1463 | 1471 | | |
1464 | 1472 | | |
1465 | | - | |
1466 | | - | |
| 1473 | + | |
| 1474 | + | |
1467 | 1475 | | |
1468 | 1476 | | |
1469 | 1477 | | |
| |||
1472 | 1480 | | |
1473 | 1481 | | |
1474 | 1482 | | |
1475 | | - | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
1476 | 1486 | | |
1477 | 1487 | | |
1478 | 1488 | | |
| |||
1502 | 1512 | | |
1503 | 1513 | | |
1504 | 1514 | | |
1505 | | - | |
| 1515 | + | |
1506 | 1516 | | |
1507 | 1517 | | |
1508 | 1518 | | |
| |||
1540 | 1550 | | |
1541 | 1551 | | |
1542 | 1552 | | |
1543 | | - | |
| 1553 | + | |
1544 | 1554 | | |
1545 | 1555 | | |
1546 | 1556 | | |
1547 | 1557 | | |
1548 | 1558 | | |
1549 | 1559 | | |
1550 | | - | |
| 1560 | + | |
1551 | 1561 | | |
1552 | 1562 | | |
1553 | 1563 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| 68 | + | |
| 69 | + | |
66 | 70 | | |
67 | | - | |
68 | | - | |
| 71 | + | |
| 72 | + | |
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
| |||
77 | 81 | | |
78 | 82 | | |
79 | 83 | | |
80 | | - | |
| 84 | + | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| |||
94 | 98 | | |
95 | 99 | | |
96 | 100 | | |
97 | | - | |
| 101 | + | |
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments