mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[AST] Remove @autoclosure flag from function type ExtInfo
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user