mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[AST] Add a flag to guard exprimental multi-statement closures feature
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user