allow type initializers to be 'async'

implicit calls to an async super.init are not allowed
This commit is contained in:
Kavon Farvardin
2021-01-12 17:24:06 -08:00
parent 7089bf603d
commit 4f6eb85fe3
19 changed files with 74 additions and 38 deletions

View File

@@ -56,7 +56,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 = 609; // extract_executor SIL inst
const uint16_t SWIFTMODULE_VERSION_MINOR = 610; // async initializers for nominal types
/// A standard hash seed used for all string hashes in a serialized module.
///
@@ -1264,6 +1264,7 @@ namespace decls_block {
BCFixed<1>, // implicit?
BCFixed<1>, // objc?
BCFixed<1>, // stub implementation?
BCFixed<1>, // async?
BCFixed<1>, // throws?
CtorInitializerKindField, // initializer kind
GenericSignatureIDField, // generic environment