@@ -44,7 +44,7 @@ const unsigned char MODULE_DOC_SIGNATURE[] = { 0xE2, 0x9C, 0xA8, 0x07 };
44
44
45
45
// / Serialized module format major version number.
46
46
// /
47
- // / Always 0 for Swift 1.x - 3 .x.
47
+ // / Always 0 for Swift 1.x - 4 .x.
48
48
const uint16_t VERSION_MAJOR = 0 ;
49
49
50
50
// / Serialized module format minor version number.
@@ -54,7 +54,7 @@ const uint16_t VERSION_MAJOR = 0;
54
54
// / in source control, you should also update the comment to briefly
55
55
// / describe what change you made. The content of this comment isn't important;
56
56
// / it just ensures a conflict if two people change the module format.
57
- const uint16_t VERSION_MINOR = 338 ; // Last change: OPERAND_WITH_ATTR format.
57
+ const uint16_t VERSION_MINOR = 339 ; // Last change: member canonical types
58
58
59
59
using DeclID = PointerEmbeddedInt<unsigned , 31 >;
60
60
using DeclIDField = BCFixed<31 >;
@@ -858,7 +858,8 @@ namespace decls_block {
858
858
BCFixed<1 >, // throws?
859
859
CtorInitializerKindField, // initializer kind
860
860
GenericEnvironmentIDField, // generic environment
861
- TypeIDField, // type (interface)
861
+ TypeIDField, // interface type
862
+ TypeIDField, // canonical interface type
862
863
DeclIDField, // overridden decl
863
864
AccessibilityKindField, // accessibility
864
865
BCArray<IdentifierIDField> // argument names
@@ -877,6 +878,7 @@ namespace decls_block {
877
878
BCFixed<1 >, // HasNonPatternBindingInit?
878
879
StorageKindField, // StorageKind
879
880
TypeIDField, // interface type
881
+ TypeIDField, // canonical interface type
880
882
DeclIDField, // getter
881
883
DeclIDField, // setter
882
884
DeclIDField, // materializeForSet
@@ -911,6 +913,7 @@ namespace decls_block {
911
913
BCVBR<5 >, // number of parameter patterns
912
914
GenericEnvironmentIDField, // generic environment
913
915
TypeIDField, // interface type
916
+ TypeIDField, // canonical interface type
914
917
DeclIDField, // operator decl
915
918
DeclIDField, // overridden function
916
919
DeclIDField, // AccessorStorageDecl
@@ -982,6 +985,7 @@ namespace decls_block {
982
985
StorageKindField, // StorageKind
983
986
GenericEnvironmentIDField, // generic environment
984
987
TypeIDField, // interface type
988
+ TypeIDField, // canonical interface type
985
989
DeclIDField, // getter
986
990
DeclIDField, // setter
987
991
DeclIDField, // materializeForSet
0 commit comments