File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -384,6 +384,10 @@ struct swift::RequirementMatch {
384
384
// / The set of optional adjustments performed on the witness.
385
385
SmallVector<OptionalAdjustment, 2 > OptionalAdjustments;
386
386
387
+ // / Substitutions mapping the type of the witness to the requirement
388
+ // / environment.
389
+ SmallVector<Substitution, 2 > WitnessSubstitutions;
390
+
387
391
// / \brief Determine whether this match is viable.
388
392
bool isViable () const {
389
393
switch (Kind) {
@@ -438,8 +442,6 @@ struct swift::RequirementMatch {
438
442
llvm_unreachable (" Unhandled MatchKind in switch." );
439
443
}
440
444
441
- SmallVector<Substitution, 2 > WitnessSubstitutions;
442
-
443
445
swift::Witness getWitness (ASTContext &ctx) const {
444
446
SmallVector<Substitution, 2 > syntheticSubs;
445
447
auto syntheticEnv = ReqEnv->getSyntheticEnvironment ();
You can’t perform that action at this time.
0 commit comments