[AST] Remove @autoclosure flag from function type ExtInfo

This commit is contained in:
Pavel Yaskevich
2018-11-01 17:47:23 -07:00
parent d113b4ae1f
commit bce1ba5f37
12 changed files with 10 additions and 94 deletions

View File

@@ -3843,11 +3843,9 @@ void Serializer::writeType(Type ty) {
FunctionTypeLayout::emitRecord(Out, ScratchRecord, abbrCode,
addTypeRef(fnTy->getResult()),
getRawStableFunctionTypeRepresentation(fnTy->getRepresentation()),
fnTy->isAutoClosure(),
fnTy->isNoEscape(),
fnTy->throws());
} else {
assert(!fnTy->isAutoClosure());
assert(!fnTy->isNoEscape());
auto *genericSig = cast<GenericFunctionType>(fnTy)->getGenericSignature();