mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The crash was caused by attempting to add logging expressions that capture generic variables while using the outer func decl context that was not the generic decl context of the inner (generic) func. The fix "pushes" the current func decl context while instrumenting the body. Rather than always using the top-level func decl context for all nested func bodies.
25 KiB
25 KiB