mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #33298 from xedin/rdar-65413640
[Diagnostics] Detect and diagnose type mismatches related to function…
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user