mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[AST] Eliminate ArchetypeType::NestedType.
Now that we no longer distinguish outer archetypes from inner archetypes, we can replace NestedType with just Type.
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 = 289; // Last change: remove AssociatedTypeType
|
||||
const uint16_t VERSION_MINOR = 290; // Last change: archetype nested types
|
||||
|
||||
using DeclID = PointerEmbeddedInt<unsigned, 31>;
|
||||
using DeclIDField = BCFixed<31>;
|
||||
@@ -646,11 +646,6 @@ namespace decls_block {
|
||||
BCArray<TypeIDField>
|
||||
>;
|
||||
|
||||
using ArchetypeNestedTypesAreArchetypesLayout = BCRecordLayout<
|
||||
ARCHETYPE_NESTED_TYPES_ARE_ARCHETYPES,
|
||||
BCArray<TypeIDField>
|
||||
>;
|
||||
|
||||
using ProtocolCompositionTypeLayout = BCRecordLayout<
|
||||
PROTOCOL_COMPOSITION_TYPE,
|
||||
BCArray<TypeIDField> // protocols
|
||||
|
||||
Reference in New Issue
Block a user