swift
9bd209d3 - Diagnose non-sendable captures more directly.

Commit
4 years ago
Diagnose non-sendable captures more directly. Rather than only checking the sendability of captures at the point of use, diagnose captures uniformly for the closure as a whole. Fixes a case where we were missing a diagnostic due to an explicit capture, rdar://85988937.
Author
Committer
Parents
Loading