mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Parameterize the resolution of generic type parameter types to archetypes.
When type checking, allow the caller to customize the resolution of generic type parameter types based on the context, for example, by choosing to substitute in an archetype (or not) and allowing one to resolve a dependent member reference via a specific archetype. No actual functionality change here. Swift SVN r8797
This commit is contained in:
@@ -346,7 +346,7 @@ namespace decls_block {
|
||||
using DependentMemberTypeLayout = BCRecordLayout<
|
||||
DEPENDENT_MEMBER_TYPE,
|
||||
TypeIDField, // base type
|
||||
IdentifierIDField // member name
|
||||
DeclIDField // associated type decl
|
||||
>;
|
||||
using NominalTypeLayout = BCRecordLayout<
|
||||
NOMINAL_TYPE,
|
||||
|
||||
Reference in New Issue
Block a user