[AST] Add a flag to guard exprimental multi-statement closures feature

This commit is contained in:
Pavel Yaskevich
2021-07-07 09:51:04 -07:00
parent baf032bda2
commit a1c0823f46
3 changed files with 11 additions and 0 deletions

View File

@@ -662,6 +662,10 @@ namespace swift {
/// parameters of closures.
bool EnableOneWayClosureParameters = false;
/// Enable experimental support for type inference through multi-statement
/// closures.
bool EnableMultiStatementClosureInference = false;
/// See \ref FrontendOptions.PrintFullConvention
bool PrintFullConvention = false;
};