mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[ConstraintLocator] Rename isAutoclosureResult to isForAutoclosureResult
This commit is contained in:
@@ -3080,7 +3080,7 @@ ConstraintSystem::matchTypes(Type type1, Type type2, ConstraintKind kind,
|
||||
if (kind >= ConstraintKind::Conversion) {
|
||||
// It is never legal to form an autoclosure that results in these
|
||||
// implicit conversions to pointer types.
|
||||
bool isAutoClosureArgument = locator.isAutoclosureResult();
|
||||
bool isAutoClosureArgument = locator.isForAutoclosureResult();
|
||||
|
||||
// Pointer arguments can be converted from pointer-compatible types.
|
||||
if (kind >= ConstraintKind::ArgumentConversion) {
|
||||
|
||||
Reference in New Issue
Block a user