Commit 6284dd4
committed
Sema: Downgrade diagnostics about unavailable requirements in swiftinterfaces.
Historically, we've allowed protocol requirements to be written with
`@_spi_available` which makes them unavailable to clients of the public
`.swiftinterface`. Don't diagnose this when checking a `.swiftinterface` since
there's nothing the client can do about it.
Resolves rdar://146334181.1 parent 5d92f79 commit 6284dd4
File tree
2 files changed
+17
-1
lines changed- lib/Sema
- test/ModuleInterface
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5106 | 5106 | | |
5107 | 5107 | | |
5108 | 5108 | | |
5109 | | - | |
| 5109 | + | |
| 5110 | + | |
| 5111 | + | |
| 5112 | + | |
5110 | 5113 | | |
5111 | 5114 | | |
5112 | 5115 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
0 commit comments