Skip to content

Commit f01bcce

Browse files
authored
Merge pull request #63319 from DougGregor/experimental-upcoming-feature-module-option
Make -enable-(experimental|upcoming)-feature a module-ignorable option
2 parents db60d60 + 7ce2b21 commit f01bcce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/Option/Options.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,11 +747,11 @@ def strict_concurrency : Joined<["-"], "strict-concurrency=">,
747747

748748
def enable_experimental_feature :
749749
Separate<["-"], "enable-experimental-feature">,
750-
Flags<[FrontendOption]>,
750+
Flags<[FrontendOption, ModuleInterfaceOptionIgnorable]>,
751751
HelpText<"Enable an experimental feature">;
752752

753753
def enable_upcoming_feature : Separate<["-"], "enable-upcoming-feature">,
754-
Flags<[FrontendOption]>,
754+
Flags<[FrontendOption, ModuleInterfaceOptionIgnorable]>,
755755
HelpText<"Enable a feature that will be introduced in an upcoming language "
756756
"version">;
757757

0 commit comments

Comments
 (0)