[3.11] GH-103971: Fix incorrect locations for code following case blocks

3 files changed