Skip to content

Commit db50ace

Browse files
authored
Enable 'MemberImportVisibility' upcoming feature in CMake rules (#1022)
Follow-on to #1020 to enable this upcoming feature in the CMake rules, too. Resolves rdar://146876960. - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or modified, DocC references should be updated.
1 parent 4399cba commit db50ace

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmake/modules/shared/CompilerSettings.cmake

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ add_compile_options(
1717
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-experimental-feature -Xfrontend SuppressedAssociatedTypes>")
1818
add_compile_options(
1919
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-upcoming-feature -Xfrontend ExistentialAny>"
20-
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-upcoming-feature -Xfrontend InternalImportsByDefault>")
20+
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-upcoming-feature -Xfrontend InternalImportsByDefault>"
21+
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-upcoming-feature -Xfrontend MemberImportVisibility>")
2122

2223
# Platform-specific definitions.
2324
if(APPLE)

0 commit comments

Comments
 (0)