Commit c4d00d0
committed
Align the signature-change diff test with the evolved differ classification
This slice carries the full typed-tree differ, which treats a
parameter-type change as a removal plus an insert of distinct symbols
rather than one matched symbol with a changed signature. The removal
surfaces as the rude edit (DeclarationRemoved) and the replacement as
an insert semantic edit, so the earlier expectations (no semantic
edits, SignatureChange) no longer describe this tree. Assert the
observable contract instead: exactly one rude edit with the removal
classification. Hosts reject the whole update when any rude edit is
present, so the accompanying insert never applies.
Verified: TypedTreeDiffTests 8 passed 0 failed, fantomas clean on the
touched file.1 parent 73a94d4 commit c4d00d0
1 file changed
Lines changed: 5 additions & 2 deletions
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
185 | 188 | | |
186 | | - | |
| 189 | + | |
187 | 190 | | |
188 | 191 | | |
189 | 192 | | |
| |||
0 commit comments