SIGN IN SIGN UP

Preserve line number on generator methods (#61797)

An attempt to reduce garbage debuginfo that codegen needs to deal with:
stop dropping provenance when producing generator methods in lowering,
and generated expressions from `generated_body_to_codeinfo`. This change
appears to let us rule out a case in codegen, but I'll see what CI
thinks. The other changes are a provenance improvement regardless.
E
Em Chu committed
55681960b3277235f9624b85b19281fa7e5e9cbd
Parent: 47c5e32
Committed by GitHub <noreply@github.com> on 5/26/2026, 9:01:19 PM