TermiNexus
fabd92adc7
feat(switch): 新增 switch 语句并禁止 match 内 fallthrough
- MatchGenMixin:case 体按 node.is_switch 置 _in_switch_case;_has_no_break 只认 FallThrough 节点(去掉 c.NoBreak() 兼容路径)
- StmtGenDeclMixin:translate_fallthrough 只在 switch 的 case 体内合法,match/switch 之外 fail-fast
- Translator:_in_match_case 更名 _in_switch_case(语义 = 当前 case 体属于 switch)
- FuncGenDef / FuncGenMixin:函数体 / 嵌套函数 / lambda 入口隔离并恢复 _in_switch_case
- 因 match 改为硬关键字,重命名同名局部变量 match -> Matched(StubMergerStore / ImportsGenMixin / ExprGenAttr / CallGenBase)
2026-10-02 23:15:43 +08:00
..
2026-10-02 23:15:43 +08:00
2026-10-01 21:44:55 +08:00
2026-09-23 17:41:49 +08:00
2026-09-30 21:16:48 +08:00
2026-09-23 17:41:49 +08:00
2026-10-01 21:17:49 +08:00
2026-10-02 00:47:17 +08:00
2026-10-01 14:26:18 +08:00
2026-10-02 22:07:01 +08:00