mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Conditionally enable behaviors by a frontend flag.
Since the feature is incomplete and yet to be accepted or implemented as proposed, hide it behind an -enable-experimental-property-behaviors frontend flag.
This commit is contained in:
@@ -726,6 +726,9 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
Opts.EnableExperimentalPatterns |=
|
||||
Args.hasArg(OPT_enable_experimental_patterns);
|
||||
|
||||
Opts.EnableExperimentalPropertyBehaviors |=
|
||||
Args.hasArg(OPT_enable_experimental_property_behaviors);
|
||||
|
||||
Opts.DisableAvailabilityChecking |=
|
||||
Args.hasArg(OPT_disable_availability_checking);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user