swift icon indicating copy to clipboard operation
swift copied to clipboard

Avoid emitting variable debug info for closure captures.

Open adrian-prantl opened this issue 2 years ago • 3 comments

Variable debug info is triggered by pattern bindings, however, inside a closure capture list, this should be avoided by setting the appropriate flag in the initializer object.

rdar://110329894 (cherry picked from commit 3a97766bb3397c39cdd323cd9077cfba3bd18745)

adrian-prantl avatar Jun 08 '23 23:06 adrian-prantl

@swift-ci test

adrian-prantl avatar Jun 08 '23 23:06 adrian-prantl

@swift-ci test linux

adrian-prantl avatar Jun 09 '23 16:06 adrian-prantl

@swift-ci test linux

adrian-prantl avatar Jun 09 '23 16:06 adrian-prantl