Skip to content

Commit c7fb93d

Browse files
committed
Revert "[CSBindings] Adjust hasConversions to handle Void has having not conversions"
This reverts commit 76f0bcb. (cherry picked from commit ffac97a)
1 parent fc26ad3 commit c7fb93d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Sema/CSBindings.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,8 +1264,7 @@ static bool hasConversions(Type type) {
12641264
}
12651265

12661266
return !(type->is<StructType>() || type->is<EnumType>() ||
1267-
type->is<BuiltinType>() || type->is<ArchetypeType>() ||
1268-
type->isVoid());
1267+
type->is<BuiltinType>() || type->is<ArchetypeType>());
12691268
}
12701269

12711270
bool BindingSet::favoredOverDisjunction(Constraint *disjunction) const {

0 commit comments

Comments
 (0)