Skip to content

Commit 7ce2b21

Browse files
committed
Make -enable-(experimental|upcoming)-featuren a module-ignorable option
1 parent 919da2c commit 7ce2b21

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
@@ -744,11 +744,11 @@ def strict_concurrency : Joined<["-"], "strict-concurrency=">,
744744

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

750750
def enable_upcoming_feature : Separate<["-"], "enable-upcoming-feature">,
751-
Flags<[FrontendOption]>,
751+
Flags<[FrontendOption, ModuleInterfaceOptionIgnorable]>,
752752
HelpText<"Enable a feature that will be introduced in an upcoming language "
753753
"version">;
754754

0 commit comments

Comments
 (0)