Skip to content

Commit 37b69fc

Browse files
committed
Serialization: Tweak record numbers to make room for 'reasync'
1 parent 67a22aa commit 37b69fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/Serialization/DeclTypeRecordNodes.def

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ TYPE(NAME_ALIAS)
111111

112112
TYPE(ERROR)
113113

114-
FIRST_DECL(TYPE_ALIAS, 60)
114+
FIRST_DECL(TYPE_ALIAS, 40)
115115
DECL(GENERIC_TYPE_PARAM)
116116
DECL(ASSOCIATED_TYPE)
117117
DECL(STRUCT)
@@ -136,7 +136,7 @@ DECL(PRECEDENCE_GROUP)
136136
DECL(ACCESSOR)
137137

138138
#ifndef DECL_ATTR
139-
#define DECL_ATTR(NAME, CLASS, OPTIONS, CODE) RECORD_VAL(CLASS##_DECL_ATTR, 90+CODE)
139+
#define DECL_ATTR(NAME, CLASS, OPTIONS, CODE) RECORD_VAL(CLASS##_DECL_ATTR, 70+CODE)
140140
#endif
141141
#include "swift/AST/Attr.def"
142142

lib/Serialization/ModuleFormat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const uint16_t SWIFTMODULE_VERSION_MAJOR = 0;
5656
/// describe what change you made. The content of this comment isn't important;
5757
/// it just ensures a conflict if two people change the module format.
5858
/// Don't worry about adhering to the 80-column limit for this line.
59-
const uint16_t SWIFTMODULE_VERSION_MINOR = 596; // Add flag parameter index to ForeignAsyncConvention
59+
const uint16_t SWIFTMODULE_VERSION_MINOR = 597; // reasync
6060

6161
/// A standard hash seed used for all string hashes in a serialized module.
6262
///

0 commit comments

Comments
 (0)