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:
Joe Groff
2016-02-19 13:06:26 -08:00
parent e49a50bbee
commit d4fdc1e7a8
7 changed files with 18 additions and 4 deletions

View File

@@ -137,6 +137,9 @@ namespace swift {
/// \brief Enable experimental "switch" pattern-matching features.
bool EnableExperimentalPatterns = false;
/// \brief Enable experimental property behavior feature.
bool EnableExperimentalPropertyBehaviors = false;
/// Should we check the target OSs of serialized modules to see that they're
/// new enough?
bool EnableTargetOSChecking = true;