Use @inout result convention for mutate accessors

This commit is contained in:
Meghana Gupta
2025-10-14 15:05:25 -07:00
parent 25af94495c
commit a0c939bd3b
24 changed files with 128 additions and 42 deletions

View File

@@ -58,7 +58,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 = 967; // implicitactor cast
const uint16_t SWIFTMODULE_VERSION_MINOR = 968; // @inout result convention
/// A standard hash seed used for all string hashes in a serialized module.
///
@@ -444,8 +444,9 @@ enum class ResultConvention : uint8_t {
Pack,
GuaranteedAddress,
Guaranteed,
Inout
};
using ResultConventionField = BCFixed<3>;
using ResultConventionField = BCFixed<4>;
/// These IDs must \em not be renumbered or reordered without incrementing the
/// module version.