mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This is a step towards being able to report coverage for closures in member initializer expressions. These closures do not inherit a profiler, so they need a fresh one. We currently treat initializer expressions which aren't closures as a part of the constructor. This doesn't work for closures because the constructor's profiler may not be available at the time the closure is created.
3.1 KiB
3.1 KiB