TermiNexus
43d25e58b9
feat(match): case 内 break 跳出 match,并落地 fallthrough
- Translator:新增 _in_match_case(FallThrough 合法性判定用);_break_bb 注释补充
case 内 break 语义
- StmtGenDeclMixin:新增 translate_fallthrough(本身不产出 IR;非 case 体内 fail-fast)
- StmtGenMixin:FallThrough 语句分派
- MatchGenMixin:进出 case 体(含 default 臂)时暂存/覆盖 _break_bb = match end_bb,
使 case 内 break 跳出 match 而非外层循环;_has_no_break 兼容 FallThrough 标记;
REnum / simple 两条 switch 路径的 fallthrough 由"只留无终结符块"改为显式 br
下一个 case body(原实现产出非法 IR)
2026-10-02 22:33:15 +08:00
..
2026-10-02 22:33:15 +08:00
2026-10-02 01:03:31 +08:00
2026-09-23 16:09:32 +08:00
2026-10-02 17:29:38 +08:00
2026-09-23 16:09:32 +08:00