mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Doug twisted my arm and convinced me that noescape was a better match for the semantics we’ll have here. NoCapture would be confusable with "this closure doesn’t have any captures, thus should be compatible with thin function types"
The attribute itself remains __'ized. Swift SVN r24113
This commit is contained in:
@@ -2381,7 +2381,7 @@ void Serializer::writeType(Type ty) {
|
||||
fnTy->getRepresentation() == AnyFunctionType::Representation::Thin,
|
||||
fnTy->isNoReturn(),
|
||||
fnTy->getRepresentation() == AnyFunctionType::Representation::Block,
|
||||
fnTy->isNoCapture());
|
||||
fnTy->isNoEscape());
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user