mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #85948 from aschwaighofer/embedded_enable_existential_support
[embedded] Enable support for existentials/boxed protocol types per default
This commit is contained in:
@@ -557,7 +557,7 @@ EXPERIMENTAL_FEATURE(StandaloneSwiftAvailability, true)
|
||||
SUPPRESSIBLE_EXPERIMENTAL_FEATURE(TildeSendable, false)
|
||||
|
||||
/// Allow use of protocol typed values in Embedded mode (`Any` and friends)
|
||||
EXPERIMENTAL_FEATURE(EmbeddedExistentials, false)
|
||||
EXPERIMENTAL_FEATURE(EmbeddedExistentials, true)
|
||||
|
||||
/// Allow use of the 'anyAppleOS' availability domain.
|
||||
EXPERIMENTAL_FEATURE(AnyAppleOSAvailability, true)
|
||||
|
||||
@@ -1597,6 +1597,10 @@ def gen_reproducer_dir
|
||||
: Separate<["-"], "gen-reproducer-dir">,
|
||||
HelpText<"Path to directory where reproducers write to.">;
|
||||
|
||||
def disable_embedded_existentials
|
||||
: Flag<["-"], "disable-embedded-existentials">,
|
||||
HelpText<"Disable embedded existential support.">;
|
||||
|
||||
} // end let Flags = [FrontendOption, NoDriverOption, HelpHidden]
|
||||
|
||||
def disable_experimental_parser_round_trip : Flag<["-"],
|
||||
|
||||
Reference in New Issue
Block a user