Skip to content

Conversation

felipepiovezan
Copy link
Contributor

… location

Prior to this patch, a "guard let" was being lowered with an implicit debug location, causing it to be dropped in later stages of the compiler, and making it impossible to set a breakpoint in that line.

This was tracked down to a piece of code in SILGenFunction::emitExprInto, which takes an optional Location parameter that was being ignored in one code path.

(cherry picked from commit 8baf933)

rdar://116462520

… location

Prior to this patch, a "guard let" was being lowered with an implicit debug
location, causing it to be dropped in later stages of the compiler, and making
it impossible to set a breakpoint in that line.

This was tracked down to a piece of code in `SILGenFunction::emitExprInto`,
which takes an optional Location parameter that was being ignored in one code
path.

(cherry picked from commit 8baf933)
@felipepiovezan felipepiovezan requested a review from a team as a code owner December 1, 2023 19:32
@felipepiovezan
Copy link
Contributor Author

@swift-ci please test

@adrian-prantl adrian-prantl merged commit 674d3d7 into swiftlang:release/5.10 Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants