Skip to content

[TEST] [DNM] Revert a PR to see if it causes regressions #61060

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions lib/Sema/CSStep.h
Original file line number Diff line number Diff line change
Expand Up @@ -727,11 +727,10 @@ class DisjunctionStep final : public BindingStep<DisjunctionChoiceProducer> {
// non-generic score indicates that there were no forced
// unwrappings of optional(s), no unavailable overload
// choices present in the solution, no fixes required,
// and there are no non-trivial user or function conversions.
// and there are no non-trivial function conversions.
auto &score = BestNonGenericScore->Data;
return (score[SK_ForceUnchecked] == 0 && score[SK_Unavailable] == 0 &&
score[SK_Fix] == 0 && score[SK_UserConversion] == 0 &&
score[SK_FunctionConversion] == 0);
score[SK_Fix] == 0 && score[SK_FunctionConversion] == 0);
}

/// Attempt to apply given disjunction choice to constraint system.
Expand Down
29 changes: 0 additions & 29 deletions test/Constraints/anyhashable_and_operator_filtering.swift

This file was deleted.