Commit e14f569
committed
Add new HOLETYPES to TASTy format
This is a new encoding of HOLE that differentiates between type and
term arguments of the hole.
```
Term = ...
HOLE Length idx_Nat tpe_Type HoleTypes? arg_Tree*
-- Splice hole with index `idx`, the type of the hole `tpe`,
type arguments of the hole `targ`s and term arguments
of the hole `arg`s
HoleTypes = HOLETYPES Length targ_Type*
```1 parent 738c3aa commit e14f569
File tree
4 files changed
+28
-11
lines changed- compiler/src/dotty/tools/dotc/core/tasty
- project
- tasty/src/dotty/tools/tasty
4 files changed
+28
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
673 | | - | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
674 | 678 | | |
675 | 679 | | |
676 | 680 | | |
| |||
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1436 | 1436 | | |
1437 | 1437 | | |
1438 | 1438 | | |
1439 | | - | |
1440 | | - | |
1441 | | - | |
1442 | | - | |
| 1439 | + | |
1443 | 1440 | | |
1444 | 1441 | | |
1445 | 1442 | | |
| |||
1470 | 1467 | | |
1471 | 1468 | | |
1472 | 1469 | | |
1473 | | - | |
1474 | | - | |
1475 | | - | |
1476 | | - | |
| 1470 | + | |
1477 | 1471 | | |
1478 | 1472 | | |
1479 | 1473 | | |
| |||
1506 | 1500 | | |
1507 | 1501 | | |
1508 | 1502 | | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
1509 | 1515 | | |
1510 | 1516 | | |
1511 | 1517 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
126 | 129 | | |
127 | 130 | | |
128 | 131 | | |
| |||
586 | 589 | | |
587 | 590 | | |
588 | 591 | | |
| 592 | + | |
589 | 593 | | |
590 | 594 | | |
591 | 595 | | |
| |||
600 | 604 | | |
601 | 605 | | |
602 | 606 | | |
| 607 | + | |
603 | 608 | | |
604 | 609 | | |
605 | 610 | | |
| |||
804 | 809 | | |
805 | 810 | | |
806 | 811 | | |
| 812 | + | |
807 | 813 | | |
808 | 814 | | |
809 | 815 | | |
| |||
0 commit comments