mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
AST: Remove ArchetypeType::getSelfProtocol()
Now that the last usages have been removed, we no longer need special handling for the 'Self' archetype of a protocol.
This commit is contained in:
@@ -54,7 +54,7 @@ const uint16_t VERSION_MAJOR = 0;
|
||||
/// in source control, you should also update the comment to briefly
|
||||
/// 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.
|
||||
const uint16_t VERSION_MINOR = 283; // Last change: witness markers removed
|
||||
const uint16_t VERSION_MINOR = 284; // Last change: Self archetype protocol removed
|
||||
|
||||
using DeclID = PointerEmbeddedInt<unsigned, 31>;
|
||||
using DeclIDField = BCFixed<31>;
|
||||
@@ -626,7 +626,7 @@ namespace decls_block {
|
||||
ARCHETYPE_TYPE,
|
||||
IdentifierIDField, // name
|
||||
TypeIDField, // index if primary, parent if non-primary
|
||||
DeclIDField, // associated type or protocol decl
|
||||
DeclIDField, // associated type decl
|
||||
TypeIDField, // superclass
|
||||
BCArray<DeclIDField> // conformances
|
||||
// Trailed by the nested types record.
|
||||
|
||||
Reference in New Issue
Block a user