Commit f2fb1e9
authored
[Sema] Record invalid protocol witnesses to avoid re-diagnosis. (swiftlang#6698)
This is a /little/ risky because previously a recorded witness would
only be empty if the requirement was optional, but it's a relatively
non-intrusive way to improve diagnostics. The conformance is still
marked invalid, which is the important part.
Groundwork for rdar://problem/28543037.1 parent 549e00c commit f2fb1e9
File tree
2 files changed
+26
-6
lines changed- lib/Sema
- test/ClangImporter
2 files changed
+26
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1709 | 1709 | | |
1710 | 1710 | | |
1711 | 1711 | | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
1712 | 1715 | | |
1713 | 1716 | | |
1714 | 1717 | | |
| |||
2186 | 2189 | | |
2187 | 2190 | | |
2188 | 2191 | | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
| 2196 | + | |
| 2197 | + | |
| 2198 | + | |
| 2199 | + | |
| 2200 | + | |
| 2201 | + | |
| 2202 | + | |
| 2203 | + | |
| 2204 | + | |
| 2205 | + | |
2189 | 2206 | | |
2190 | 2207 | | |
2191 | 2208 | | |
| |||
4019 | 4036 | | |
4020 | 4037 | | |
4021 | 4038 | | |
| 4039 | + | |
4022 | 4040 | | |
4023 | 4041 | | |
4024 | 4042 | | |
| |||
4033 | 4051 | | |
4034 | 4052 | | |
4035 | 4053 | | |
| 4054 | + | |
4036 | 4055 | | |
4037 | 4056 | | |
4038 | 4057 | | |
| |||
4047 | 4066 | | |
4048 | 4067 | | |
4049 | 4068 | | |
| 4069 | + | |
4050 | 4070 | | |
4051 | 4071 | | |
4052 | 4072 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | | - | |
360 | | - | |
| 359 | + | |
| 360 | + | |
361 | 361 | | |
362 | | - | |
363 | | - | |
| 362 | + | |
| 363 | + | |
364 | 364 | | |
365 | | - | |
366 | | - | |
| 365 | + | |
| 366 | + | |
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
| |||
0 commit comments