Commit ea48847
committed
AST: WhereClauseOwner never visit the obsolete 'where' clause inside a GenericParamList
Otherwise, we'll end up visiting it twice in InferredGenericSignatureRequest.
The GSB uniques requirements seen this way, whereas the Requirement Machine
does not, leading to redundant requirement diagnostics.1 parent fab3771 commit ea48847
File tree
4 files changed
+15
-17
lines changed- lib/AST
- test
- IDE
- Parse
- type
4 files changed
+15
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
349 | 346 | | |
350 | 347 | | |
351 | 348 | | |
352 | 349 | | |
353 | 350 | | |
354 | 351 | | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
359 | 355 | | |
360 | | - | |
361 | | - | |
| 356 | + | |
362 | 357 | | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
363 | 361 | | |
364 | | - | |
| 362 | + | |
365 | 363 | | |
366 | 364 | | |
367 | 365 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
| 84 | + | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments