implement parsing for effects specifiers on 'get' accessors

An effectful 'get' accessor must be the only accessor for the
property.
This commit is contained in:
Kavon Farvardin
2021-03-12 16:48:47 -08:00
parent 58f03e8490
commit f9452b23f4
15 changed files with 226 additions and 39 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 = 606; // ossa module hash change
const uint16_t SWIFTMODULE_VERSION_MINOR = 607; // async / throws property decls
/// A standard hash seed used for all string hashes in a serialized module.
///
@@ -1378,6 +1378,7 @@ namespace decls_block {
BCFixed<1>, // isObjC?
SelfAccessKindField, // self access kind
BCFixed<1>, // has forced static dispatch?
BCFixed<1>, // async?
BCFixed<1>, // throws?
GenericSignatureIDField, // generic environment
TypeIDField, // result interface type