Skip to content

Commit cbdb980

Browse files
committed
[ConstraintSystem] Fix new "empty" locator in resolveValueMember
1 parent 7bdf016 commit cbdb980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/CSGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4550,7 +4550,7 @@ swift::resolveValueMember(DeclContext &DC, Type BaseTy, DeclName Name) {
45504550
// Look up all members of BaseTy with the given Name.
45514551
MemberLookupResult LookupResult = CS.performMemberLookup(
45524552
ConstraintKind::ValueMember, DeclNameRef(Name), BaseTy,
4553-
FunctionRefKind::SingleApply, CS.getConstraintLocator(nullptr), false);
4553+
FunctionRefKind::SingleApply, CS.getConstraintLocator({}), false);
45544554

45554555
// Keep track of all the unviable members.
45564556
for (auto Can : LookupResult.UnviableCandidates)

0 commit comments

Comments
 (0)