@@ -26,20 +26,15 @@ private import HiddenDep
26
26
27
27
/// With resilience, non-public dependencies should be hidden.
28
28
// RUN: %target-swift-frontend -emit-module %t/PublicDep.swift -o %t -I %t \
29
- // RUN: -enable-library-evolution \
30
- // RUN: -enable-experimental-feature AccessLevelOnImport
29
+ // RUN: -enable-library-evolution
31
30
// RUN: %target-swift-frontend -emit-module %t/PackageDep.swift -o %t -I %t \
32
- // RUN: -enable-library-evolution -package-name MyPackage \
33
- // RUN: -enable-experimental-feature AccessLevelOnImport
31
+ // RUN: -enable-library-evolution -package-name MyPackage
34
32
// RUN: %target-swift-frontend -emit-module %t/InternalDep.swift -o %t -I %t \
35
- // RUN: -enable-library-evolution \
36
- // RUN: -enable-experimental-feature AccessLevelOnImport
33
+ // RUN: -enable-library-evolution
37
34
// RUN: %target-swift-frontend -emit-module %t/FileprivateDep.swift -o %t -I %t \
38
- // RUN: -enable-library-evolution \
39
- // RUN: -enable-experimental-feature AccessLevelOnImport
35
+ // RUN: -enable-library-evolution
40
36
// RUN: %target-swift-frontend -emit-module %t/PrivateDep.swift -o %t -I %t \
41
- // RUN: -enable-library-evolution \
42
- // RUN: -enable-experimental-feature AccessLevelOnImport
37
+ // RUN: -enable-library-evolution
43
38
44
39
// RUN: %target-swift-frontend -typecheck %t/ClientOfPublic.swift -I %t \
45
40
// RUN: -package-name MyOtherPackage \
@@ -59,17 +54,12 @@ import FileprivateDep
59
54
import PrivateDep
60
55
61
56
/// Without resilience, all access-level dependencies are visible to clients.
62
- // RUN: %target-swift-frontend -emit-module %t/PublicDep.swift -o %t -I %t \
63
- // RUN: -enable-experimental-feature AccessLevelOnImport
57
+ // RUN: %target-swift-frontend -emit-module %t/PublicDep.swift -o %t -I %t
64
58
// RUN: %target-swift-frontend -emit-module %t/PackageDep.swift -o %t -I %t \
65
- // RUN: -package-name MyPackage \
66
- // RUN: -enable-experimental-feature AccessLevelOnImport
67
- // RUN: %target-swift-frontend -emit-module %t/InternalDep.swift -o %t -I %t \
68
- // RUN: -enable-experimental-feature AccessLevelOnImport
69
- // RUN: %target-swift-frontend -emit-module %t/FileprivateDep.swift -o %t -I %t \
70
- // RUN: -enable-experimental-feature AccessLevelOnImport
71
- // RUN: %target-swift-frontend -emit-module %t/PrivateDep.swift -o %t -I %t \
72
- // RUN: -enable-experimental-feature AccessLevelOnImport
59
+ // RUN: -package-name MyPackage
60
+ // RUN: %target-swift-frontend -emit-module %t/InternalDep.swift -o %t -I %t
61
+ // RUN: %target-swift-frontend -emit-module %t/FileprivateDep.swift -o %t -I %t
62
+ // RUN: %target-swift-frontend -emit-module %t/PrivateDep.swift -o %t -I %t
73
63
74
64
// RUN: %target-swift-frontend -typecheck %t/ClientOfPublic.swift -I %t \
75
65
// RUN: -Rmodule-loading 2>&1 | %FileCheck -check-prefix=VISIBLE-DEP %s
@@ -79,20 +69,15 @@ import PrivateDep
79
69
/// Even with resilience and testing enabled, all non-public dependencies are
80
70
/// hidden if there are no testable imports.
81
71
// RUN: %target-swift-frontend -emit-module %t/PublicDep.swift -o %t -I %t \
82
- // RUN: -enable-library-evolution -enable-testing \
83
- // RUN: -enable-experimental-feature AccessLevelOnImport
72
+ // RUN: -enable-library-evolution -enable-testing
84
73
// RUN: %target-swift-frontend -emit-module %t/PackageDep.swift -o %t -I %t \
85
- // RUN: -enable-library-evolution -enable-testing -package-name MyPackage \
86
- // RUN: -enable-experimental-feature AccessLevelOnImport
74
+ // RUN: -enable-library-evolution -enable-testing -package-name MyPackage
87
75
// RUN: %target-swift-frontend -emit-module %t/InternalDep.swift -o %t -I %t \
88
- // RUN: -enable-library-evolution -enable-testing \
89
- // RUN: -enable-experimental-feature AccessLevelOnImport
76
+ // RUN: -enable-library-evolution -enable-testing
90
77
// RUN: %target-swift-frontend -emit-module %t/FileprivateDep.swift -o %t -I %t \
91
- // RUN: -enable-library-evolution -enable-testing \
92
- // RUN: -enable-experimental-feature AccessLevelOnImport
78
+ // RUN: -enable-library-evolution -enable-testing
93
79
// RUN: %target-swift-frontend -emit-module %t/PrivateDep.swift -o %t -I %t \
94
- // RUN: -enable-library-evolution -enable-testing \
95
- // RUN: -enable-experimental-feature AccessLevelOnImport
80
+ // RUN: -enable-library-evolution -enable-testing
96
81
97
82
// RUN: %target-swift-frontend -typecheck %t/ClientOfPublic.swift -I %t \
98
83
// RUN: -Rmodule-loading 2>&1 | %FileCheck -check-prefix=VISIBLE-DEP %s
@@ -120,8 +105,7 @@ import PrivateDep
120
105
/// Non-public imports from the reexported modules are not loaded, we could
121
106
/// revisit this if desired.
122
107
// RUN: %target-swift-frontend -emit-module %t/Exporter.swift -o %t -I %t \
123
- // RUN: -enable-library-evolution -enable-testing \
124
- // RUN: -enable-experimental-feature AccessLevelOnImport
108
+ // RUN: -enable-library-evolution -enable-testing
125
109
// RUN: %target-swift-frontend -typecheck %t/ExporterClient.swift -I %t \
126
110
// RUN: -index-system-modules -index-ignore-stdlib -index-store-path %t/idx \
127
111
// RUN: -Rmodule-loading 2>&1 | %FileCheck -check-prefixes=CHECK-EXPORTER,HIDDEN-DEP %s
0 commit comments