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:
Doug Gregor
2015-08-19 06:42:30 +00:00
parent f898887894
commit f0fcd594c0
18 changed files with 34 additions and 42 deletions

View File

@@ -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<