[Serialization] Serialize a typealias' underlying type as an interface type.

We'll lazily map the interface type to a contextual type when requested.
This commit is contained in:
Doug Gregor
2016-12-09 16:09:30 -08:00
parent 496534b52a
commit 5cb04f4635
5 changed files with 78 additions and 15 deletions

View File

@@ -54,7 +54,7 @@ const uint16_t VERSION_MAJOR = 0;
/// in source control, you should also update the comment to briefly
/// 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.
const uint16_t VERSION_MINOR = 296; // Last change: remove isa pattern
const uint16_t VERSION_MINOR = 297; // Last change: typealias underlying interface type
using DeclID = PointerEmbeddedInt<unsigned, 31>;
using DeclIDField = BCFixed<31>;