[ConstraintSystem] Add a new contextual purpose - CTP_CaseStmt

This commit is contained in:
Pavel Yaskevich
2021-08-06 20:07:48 -07:00
parent df00e3efbe
commit 99a9828a03
5 changed files with 9 additions and 0 deletions

View File

@@ -5572,6 +5572,7 @@ bool SolutionApplicationTarget::contextualTypeIsOnlyAHint() const {
case CTP_ReturnSingleExpr:
case CTP_YieldByValue:
case CTP_YieldByReference:
case CTP_CaseStmt:
case CTP_ThrowStmt:
case CTP_EnumCaseRawValue:
case CTP_DefaultParameter: