Commit e595b4f
committed
[SE-0306] Ban "open" and "required" on actors.
Because actors don't have inheritance, ban "open" and "required", which
don't make sense. We will permit "final" which, although it doesn't
have any semantic impact, is still used to determine whether the ABI
of the actor itself might permit subclassing in the future. This
leaves the door slightly ajar for actor inheritance should we need to
revisit that decision.
Fixes SR-14785 / rdar://79401150.1 parent f5dc1a1 commit e595b4f
File tree
7 files changed
+9
-26
lines changed- include/swift/AST
- lib
- AST
- Sema
- test
- Distributed
- IRGen/async
- Inputs
7 files changed
+9
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7560 | 7560 | | |
7561 | 7561 | | |
7562 | 7562 | | |
7563 | | - | |
| 7563 | + | |
| 7564 | + | |
7564 | 7565 | | |
7565 | 7566 | | |
7566 | 7567 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3349 | 3349 | | |
3350 | 3350 | | |
3351 | 3351 | | |
3352 | | - | |
3353 | | - | |
3354 | | - | |
3355 | 3352 | | |
3356 | 3353 | | |
3357 | 3354 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | 226 | | |
231 | 227 | | |
232 | 228 | | |
| |||
350 | 346 | | |
351 | 347 | | |
352 | 348 | | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | 349 | | |
357 | 350 | | |
358 | 351 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
802 | | - | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
803 | 805 | | |
804 | 806 | | |
805 | 807 | | |
| |||
2085 | 2087 | | |
2086 | 2088 | | |
2087 | 2089 | | |
2088 | | - | |
| 2090 | + | |
| 2091 | + | |
2089 | 2092 | | |
2090 | 2093 | | |
2091 | 2094 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | | - | |
12 | | - | |
13 | 10 | | |
14 | 11 | | |
15 | 12 | | |
| |||
0 commit comments