We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6b9006 commit 92e0fd4Copy full SHA for 92e0fd4
lib/Sema/CSBindings.cpp
@@ -1010,7 +1010,8 @@ bool BindingSet::favoredOverDisjunction(Constraint *disjunction) const {
1010
}
1011
1012
1013
- return type->is<StructType>() || type->is<EnumType>();
+ return type->is<StructType>() || type->is<EnumType>() ||
1014
+ type->is<BuiltinType>();
1015
})) {
1016
// Result type of subscript could be l-value so we can't bind it early.
1017
if (!TypeVar->getImpl().isSubscriptResultType() &&
0 commit comments