mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #19145 from rudkx/parse-designated-protocol
Add support for parsing designated protocols in operator declarations.
This commit is contained in:
@@ -161,6 +161,9 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
|
||||
Opts.EnableExperimentalPropertyBehaviors |=
|
||||
Args.hasArg(OPT_enable_experimental_property_behaviors);
|
||||
|
||||
Opts.EnableOperatorDesignatedProtocols |=
|
||||
Args.hasArg(OPT_enable_operator_designated_protocols);
|
||||
|
||||
if (auto A = Args.getLastArg(OPT_enable_deserialization_recovery,
|
||||
OPT_disable_deserialization_recovery)) {
|
||||
Opts.EnableDeserializationRecovery
|
||||
|
||||
Reference in New Issue
Block a user