stage3 ai编写并提供测试用例并重构nob

This commit is contained in:
zzy committed 2026-10-31 11:06:00 +08:00
1 parent 2c531f23de
commit b4831c8d1c
150 files changed
+15838 -231

No files matched your search

+2 -4
View File
@@ -101,13 +101,11 @@ type Body = enum {
},
ExprMatch: struct { matched_expr: usize, arms: Vec },
ExprFnType: struct { is_comptime: bool, params: Vec, ret_type: usize },
TypePath: struct { name: ByteView, generic_args: Vec },
TypePath: struct { name: ByteView, generic_args: Vec, is_call: bool },
TypePointer: struct { pointee: usize },
TypeArray: struct {
has_len: bool,
len: isize,
len_expr: usize, // 长度表达式 AST(0 = `[_]T`)
is_underscore_len: bool,
len_expr: usize, // 编译期长度表达式 AST(0 = 无,使用字面量 len)
elem_type: usize,
},
TypeSlice: struct { elem_type: usize },