Merge pull request #33298 from xedin/rdar-65413640

[Diagnostics] Detect and diagnose type mismatches related to function…
This commit is contained in:
Pavel Yaskevich
2020-08-04 19:37:20 -07:00
committed by GitHub
4 changed files with 20 additions and 0 deletions

View File

@@ -3852,6 +3852,11 @@ void constraints::simplifyLocator(ASTNode &anchor,
break;
}
case ConstraintLocator::FunctionBuilderBodyResult: {
path = path.slice(1);
break;
}
default:
// FIXME: Lots of other cases to handle.
break;