|
4 | 4 | // RUN: %target-swift-frontend -parse -swift-version 5 \ |
5 | 5 | // RUN: -enable-upcoming-feature DynamicActorIsolation:invalid1 \ |
6 | 6 | // RUN: -enable-upcoming-feature DynamicActorIsolation:invalid2 \ |
7 | | -// RUN: -enable-upcoming-feature DynamicActorIsolation:adoption \ |
8 | | -// RUN: -enable-upcoming-feature DynamicActorIsolation:adoption \ |
| 7 | +// RUN: -enable-upcoming-feature DynamicActorIsolation:migrate \ |
| 8 | +// RUN: -enable-upcoming-feature DynamicActorIsolation:migrate \ |
9 | 9 | // RUN: -enable-experimental-feature DynamicActorIsolation:invalid3 \ |
10 | 10 | // RUN: -enable-experimental-feature DynamicActorIsolation:invalid4 \ |
11 | | -// RUN: -enable-experimental-feature DynamicActorIsolation:adoption \ |
12 | | -// RUN: -enable-experimental-feature DynamicActorIsolation:adoption \ |
| 11 | +// RUN: -enable-experimental-feature DynamicActorIsolation:migrate \ |
| 12 | +// RUN: -enable-experimental-feature DynamicActorIsolation:migrate \ |
13 | 13 | // RUN: -disable-upcoming-feature DynamicActorIsolation:invalid5 \ |
14 | 14 | // RUN: -disable-upcoming-feature DynamicActorIsolation:invalid6 \ |
15 | | -// RUN: -disable-upcoming-feature DynamicActorIsolation:adoption \ |
| 15 | +// RUN: -disable-upcoming-feature DynamicActorIsolation:migrate \ |
16 | 16 | // RUN: -disable-experimental-feature DynamicActorIsolation:invalid7 \ |
17 | 17 | // RUN: -disable-experimental-feature DynamicActorIsolation:invalid8 \ |
18 | | -// RUN: -disable-experimental-feature DynamicActorIsolation:adoption \ |
| 18 | +// RUN: -disable-experimental-feature DynamicActorIsolation:migrate \ |
19 | 19 | // RUN: %s 2>&1 | %FileCheck %s --check-prefix=CHECK-SWIFT-5 |
20 | 20 |
|
21 | 21 | // RUN: %target-swift-frontend -parse -swift-version 6 \ |
22 | 22 | // RUN: -enable-upcoming-feature DynamicActorIsolation:invalid1 \ |
23 | | -// RUN: -enable-upcoming-feature DynamicActorIsolation:adoption \ |
| 23 | +// RUN: -enable-upcoming-feature DynamicActorIsolation:migrate \ |
24 | 24 | // RUN: -enable-experimental-feature DynamicActorIsolation:invalid2 \ |
25 | | -// RUN: -enable-experimental-feature DynamicActorIsolation:adoption \ |
| 25 | +// RUN: -enable-experimental-feature DynamicActorIsolation:migrate \ |
26 | 26 | // RUN: -disable-upcoming-feature DynamicActorIsolation:invalid3 \ |
27 | | -// RUN: -disable-upcoming-feature DynamicActorIsolation:adoption \ |
| 27 | +// RUN: -disable-upcoming-feature DynamicActorIsolation:migrate \ |
28 | 28 | // RUN: -disable-experimental-feature DynamicActorIsolation:invalid4 \ |
29 | | -// RUN: -disable-experimental-feature DynamicActorIsolation:adoption \ |
| 29 | +// RUN: -disable-experimental-feature DynamicActorIsolation:migrate \ |
30 | 30 | // RUN: %s 2>&1 | %FileCheck %s --check-prefix=CHECK-SWIFT-6 |
31 | 31 |
|
32 | 32 | // REQUIRES: swift_feature_DynamicActorIsolation |
33 | 33 |
|
34 | 34 | // CHECK-NOT: error: |
35 | 35 |
|
36 | 36 | // CHECK-SWIFT-5-NOT: warning: |
37 | | -// CHECK-SWIFT-5: warning: '-disable-experimental-feature' argument 'DynamicActorIsolation:adoption' cannot specify a mode [#StrictLanguageFeatures]{{$}} |
| 37 | +// CHECK-SWIFT-5: warning: '-disable-experimental-feature' argument 'DynamicActorIsolation:migrate' cannot specify a mode [#StrictLanguageFeatures]{{$}} |
38 | 38 | // CHECK-SWIFT-5-NEXT: warning: '-disable-experimental-feature' argument 'DynamicActorIsolation:invalid8' cannot specify a mode [#StrictLanguageFeatures]{{$}} |
39 | 39 | // CHECK-SWIFT-5-NEXT: warning: '-disable-experimental-feature' argument 'DynamicActorIsolation:invalid7' cannot specify a mode [#StrictLanguageFeatures]{{$}} |
40 | | -// CHECK-SWIFT-5-NEXT: warning: '-disable-upcoming-feature' argument 'DynamicActorIsolation:adoption' cannot specify a mode [#StrictLanguageFeatures]{{$}} |
| 40 | +// CHECK-SWIFT-5-NEXT: warning: '-disable-upcoming-feature' argument 'DynamicActorIsolation:migrate' cannot specify a mode [#StrictLanguageFeatures]{{$}} |
41 | 41 | // CHECK-SWIFT-5-NEXT: warning: '-disable-upcoming-feature' argument 'DynamicActorIsolation:invalid6' cannot specify a mode [#StrictLanguageFeatures]{{$}} |
42 | 42 | // CHECK-SWIFT-5-NEXT: warning: '-disable-upcoming-feature' argument 'DynamicActorIsolation:invalid5' cannot specify a mode [#StrictLanguageFeatures]{{$}} |
43 | | -// CHECK-SWIFT-5-NEXT: warning: feature 'DynamicActorIsolation' does not support adoption mode [#StrictLanguageFeatures]{{$}} |
44 | | -// CHECK-SWIFT-5-NEXT: warning: feature 'DynamicActorIsolation' does not support adoption mode [#StrictLanguageFeatures]{{$}} |
| 43 | +// CHECK-SWIFT-5-NEXT: warning: feature 'DynamicActorIsolation' does not support migration mode [#StrictLanguageFeatures]{{$}} |
| 44 | +// CHECK-SWIFT-5-NEXT: warning: feature 'DynamicActorIsolation' does not support migration mode [#StrictLanguageFeatures]{{$}} |
45 | 45 | // CHECK-SWIFT-5-NEXT: warning: 'invalid4' is not a recognized mode for feature 'DynamicActorIsolation' [#StrictLanguageFeatures]{{$}} |
46 | 46 | // CHECK-SWIFT-5-NEXT: warning: 'invalid3' is not a recognized mode for feature 'DynamicActorIsolation' [#StrictLanguageFeatures]{{$}} |
47 | | -// CHECK-SWIFT-5-NEXT: warning: feature 'DynamicActorIsolation' does not support adoption mode [#StrictLanguageFeatures]{{$}} |
48 | | -// CHECK-SWIFT-5-NEXT: warning: feature 'DynamicActorIsolation' does not support adoption mode [#StrictLanguageFeatures]{{$}} |
| 47 | +// CHECK-SWIFT-5-NEXT: warning: feature 'DynamicActorIsolation' does not support migration mode [#StrictLanguageFeatures]{{$}} |
| 48 | +// CHECK-SWIFT-5-NEXT: warning: feature 'DynamicActorIsolation' does not support migration mode [#StrictLanguageFeatures]{{$}} |
49 | 49 | // CHECK-SWIFT-5-NEXT: warning: 'invalid2' is not a recognized mode for feature 'DynamicActorIsolation' [#StrictLanguageFeatures]{{$}} |
50 | 50 | // CHECK-SWIFT-5-NEXT: warning: 'invalid1' is not a recognized mode for feature 'DynamicActorIsolation' [#StrictLanguageFeatures]{{$}} |
51 | 51 | // CHECK-SWIFT-5-NOT: warning: |
|
0 commit comments