Merge pull request #63747 from hamishknight/oh-bool

This commit is contained in:
Hamish Knight
2023-02-18 14:57:24 +00:00
committed by GitHub
8 changed files with 61 additions and 39 deletions

View File

@@ -9869,7 +9869,7 @@ static bool inferEnumMemberThroughTildeEqualsOperator(
}
}
if (cs.generateConstraints(target, FreeTypeVariableBinding::Disallow))
if (cs.generateConstraints(target))
return true;
// Sub-expression associated with expression pattern is the enum element