mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
allow type initializers to be 'async'
implicit calls to an async super.init are not allowed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user