Merge remote-tracking branch 'origin/swift-3-api-guidelines' into swift-3-omit-needless-words

This commit is contained in:
Doug Gregor
2015-12-17 11:35:58 -08:00
499 changed files with 5428 additions and 5745 deletions

View File

@@ -2239,13 +2239,12 @@ swift::createDesignatedInitOverride(TypeChecker &tc,
ctx);
// Configure 'self'.
GenericParamList *outerGenericParams = nullptr;
Type selfType = configureImplicitSelf(tc, ctor, outerGenericParams);
Type selfType = configureImplicitSelf(tc, ctor);
selfBodyPattern->setType(selfType);
cast<TypedPattern>(selfBodyPattern)->getSubPattern()->setType(selfType);
// Set the type of the initializer.
configureConstructorType(ctor, outerGenericParams, selfType,
configureConstructorType(ctor, selfType,
bodyParamPatterns->getType(),
superclassCtor->isBodyThrowing());
if (superclassCtor->isObjC()) {