Files
TransPyC/lib/vast
TermiNexus aa9042173e fix(vast): 修复 match 类模式与 or 模式解析与 CPython 不一致
- case ClassName.attr(...) 类模式:扫描属性链末尾判断 '(',
  此前只查首 token 后 '(',LLVMType.Ptr(...) 被误解析为
  MatchValue(Call) → TPC 对 renum match 走值模式分支,对枚举
  构造表达式运行时求值生成 ptrtoint SSA,LLVM switch 报
  'case value is not a constant integer'
- case 0 | 1 值模式:字面量/符号不再消费顶层 '|',留给
  _ParsePattern 组 MatchOr(此前 ParseExpr 吞掉 '|' 成 BinOp)
2026-08-17 10:22:29 +08:00
..