Skip to content

Commit eb6b267

Browse files
committed
[ConstraintSystem] Implement simplification of Witness, WrappedValue, OptionalPayload, and IUO Choice
1 parent a9e9211 commit eb6b267

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/Sema/ConstraintSystem.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4935,6 +4935,12 @@ void constraints::simplifyLocator(ASTNode &anchor,
49354935

49364936
case ConstraintLocator::ImplicitConversion:
49374937
break;
4938+
4939+
case ConstraintLocator::Witness:
4940+
case ConstraintLocator::WrappedValue:
4941+
case ConstraintLocator::OptionalPayload:
4942+
case ConstraintLocator::ImplicitlyUnwrappedDisjunctionChoice:
4943+
break;
49384944
}
49394945

49404946
// If we get here, we couldn't simplify the path further.

0 commit comments

Comments
 (0)