GSB: Add an inferred AnyObject constraint to @objc protocol requirement signatures

This simplifies GenericSignatureImpl::requiresClass(), which no longer
has to look through the conformances of the equivalence class.
This commit is contained in:
Slava Pestov
2020-08-12 16:28:22 -04:00
parent b04ec814e8
commit 92bc89b78f
6 changed files with 29 additions and 23 deletions

View File

@@ -55,7 +55,7 @@ const uint16_t SWIFTMODULE_VERSION_MAJOR = 0;
/// describe what change you made. The content of this comment isn't important;
/// it just ensures a conflict if two people change the module format.
/// Don't worry about adhering to the 80-column limit for this line.
const uint16_t SWIFTMODULE_VERSION_MINOR = 569; // subclass scope
const uint16_t SWIFTMODULE_VERSION_MINOR = 570; // @objc protocols get AnyObject constraint
/// A standard hash seed used for all string hashes in a serialized module.
///