Commit f797e19
committed
[Parse] Updated protocol diagnostic to allow read.
With the `CoroutineAccessors` feature, `read` is allowed along with
`get` and `set`; alter the diagnostic that's issued when a disallowed
introducer is listed in the requirement list to indicate that `read` is
one of those which are valid, but only when the feature is enabled.1 parent f2e3e8e commit f797e19
File tree
3 files changed
+12
-4
lines changed- include/swift/AST
- lib/Parse
- test/Parse
3 files changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
| 259 | + | |
258 | 260 | | |
259 | 261 | | |
260 | 262 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8144 | 8144 | | |
8145 | 8145 | | |
8146 | 8146 | | |
8147 | | - | |
| 8147 | + | |
| 8148 | + | |
| 8149 | + | |
| 8150 | + | |
8148 | 8151 | | |
8149 | 8152 | | |
8150 | 8153 | | |
| |||
8178 | 8181 | | |
8179 | 8182 | | |
8180 | 8183 | | |
8181 | | - | |
| 8184 | + | |
| 8185 | + | |
| 8186 | + | |
| 8187 | + | |
8182 | 8188 | | |
8183 | 8189 | | |
8184 | 8190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
| 337 | + | |
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
| 341 | + | |
342 | 342 | | |
343 | 343 | | |
0 commit comments