mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove -[no]implicit-objc-with.
Toggling this option causes funny things to happen, and there's no point in keeping it. Swift SVN r20565
This commit is contained in:
@@ -420,7 +420,6 @@ mapParsedParameters(Parser &parser,
|
||||
// If the first parameter of a method or initializer is a keyword argument
|
||||
// and starts with "with", note that the "with" is implied.
|
||||
if (!argName.empty() && isFirstParameter && isFirstParameterClause &&
|
||||
ctx.LangOpts.ImplicitObjCWith &&
|
||||
(paramContext == Parser::ParameterContextKind::Method ||
|
||||
paramContext == Parser::ParameterContextKind::Initializer) &&
|
||||
argName.str().size() > 4 &&
|
||||
|
||||
Reference in New Issue
Block a user