Get rid of the second call to setType() in validateExtension().

This means that we no longer have the invariant that the extendedType always
contains the generic parameters. So we need to fix the assertions/test cases
for it.
This commit is contained in:
Varun Gandhi
2019-08-15 17:03:40 -07:00
parent 3952a0a314
commit c85eae1efb
10 changed files with 52 additions and 49 deletions

View File

@@ -52,7 +52,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 = 511; // ctor failability change
const uint16_t SWIFTMODULE_VERSION_MINOR = 512; // extended types may be left as unbound generic types
using DeclIDField = BCFixed<31>;