Commit 1c3a819
feat: detect circular interface implements chains
- interface implementing itself is caught in compile-type :interface
- indirect cycles (A->B->C->A) caught in prepare-and-validate-interfaces
by checking if an interface appears in its own transitive implements set
🤖 Generated with [eca](https://eca.dev)
Co-Authored-By: eca-agent <git@eca.dev>1 parent 2fe36e3 commit 1c3a819
2 files changed
Lines changed: 45 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1584 | 1584 | | |
1585 | 1585 | | |
1586 | 1586 | | |
1587 | | - | |
| 1587 | + | |
| 1588 | + | |
1588 | 1589 | | |
1589 | 1590 | | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
1590 | 1595 | | |
1591 | 1596 | | |
1592 | | - | |
| 1597 | + | |
1593 | 1598 | | |
1594 | | - | |
| 1599 | + | |
1595 | 1600 | | |
1596 | 1601 | | |
1597 | 1602 | | |
1598 | | - | |
| 1603 | + | |
1599 | 1604 | | |
1600 | | - | |
| 1605 | + | |
1601 | 1606 | | |
1602 | 1607 | | |
1603 | 1608 | | |
| |||
1787 | 1792 | | |
1788 | 1793 | | |
1789 | 1794 | | |
| 1795 | + | |
| 1796 | + | |
| 1797 | + | |
| 1798 | + | |
| 1799 | + | |
| 1800 | + | |
| 1801 | + | |
| 1802 | + | |
1790 | 1803 | | |
1791 | 1804 | | |
1792 | 1805 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
137 | 164 | | |
138 | 165 | | |
139 | 166 | | |
| |||
0 commit comments