mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Stop using TypeDecl::Protocols within abstract type parameters.
More baby steps toward sinking protocol lists down into NominalTypeDecl. Fixes another 12 crashers along the way. Swift SVN r31333
This commit is contained in:
@@ -51,7 +51,7 @@ const uint16_t VERSION_MAJOR = 0;
|
||||
/// To ensure that two separate changes don't silently get merged into one
|
||||
/// in source control, you should also update the comment to briefly
|
||||
/// describe what change you made.
|
||||
const uint16_t VERSION_MINOR = 211; // Last change: generic param inherited list
|
||||
const uint16_t VERSION_MINOR = 212; // Last change: assoc type inherited list
|
||||
|
||||
using DeclID = Fixnum<31>;
|
||||
using DeclIDField = BCFixed<31>;
|
||||
@@ -766,7 +766,7 @@ namespace decls_block {
|
||||
TypeIDField, // archetype type
|
||||
TypeIDField, // default definition
|
||||
BCFixed<1>, // implicit flag
|
||||
BCArray<DeclIDField> // protocols
|
||||
BCArray<TypeIDField> // inherited types
|
||||
>;
|
||||
|
||||
using StructLayout = BCRecordLayout<
|
||||
|
||||
Reference in New Issue
Block a user