Skip to content

Commit 7b2b103

Browse files
committed
Fix Windows build as a result of recent GSB changes
1 parent 6f5683a commit 7b2b103

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

lib/AST/GenericSignatureBuilder.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@ const RequirementSource *RequirementSource::forAbstract(
296296
}
297297

298298
const RequirementSource *RequirementSource::forExplicit(
299-
PotentialArchetype *root,
300-
WrittenRequirementLoc writtenLoc) {
299+
PotentialArchetype *root,
300+
GenericSignatureBuilder::WrittenRequirementLoc writtenLoc) {
301301
auto &builder = *root->getBuilder();
302302
REQUIREMENT_SOURCE_FACTORY_BODY(
303303
(nodeID, Explicit, nullptr, root,
@@ -363,10 +363,9 @@ static Type rerootOnProtocolSelf(Type depTy, ProtocolDecl *protocol) {
363363
}
364364

365365
const RequirementSource *RequirementSource::viaProtocolRequirement(
366-
GenericSignatureBuilder &builder,
367-
Type dependentType,
368-
ProtocolDecl *protocol,
369-
WrittenRequirementLoc writtenLoc) const {
366+
GenericSignatureBuilder &builder, Type dependentType,
367+
ProtocolDecl *protocol,
368+
GenericSignatureBuilder::WrittenRequirementLoc writtenLoc) const {
370369
// Re-root the dependent type on the protocol.
371370
// FIXME: we really want to canonicalize w.r.t. the requirement signature of
372371
// the protocol, but it might not have been computed yet.

0 commit comments

Comments
 (0)