mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #63747 from hamishknight/oh-bool
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user