chore(comments): Test 仓注释英文化(R11)
把 81 个 .vp 文件的中文 # 注释与三引号文档串改写为简洁英文,每个连续注释块 <=2 行;运行时中文字符串字面量(testcheck.begin/print 等用户可见消息)保持原样。骨架比对 HEAD 与工作区 112 文件漂移 0,全量 77/77 顺序回归通过。
This commit is contained in:
1 parent
aa5a7e7250
commit
ee6461be46
81 files changed
+1231
-1925
No files matched your search
@@ -3,9 +3,9 @@ import ast
|
||||
|
||||
|
||||
# ============================================================
|
||||
# 回归测试:__slots__ + ast.AST 字段类型
|
||||
# 验证 TPC 修复:无法识别的类型注解应报错终止,而非 VoidType alloca 崩溃
|
||||
# 对照:使用 ast.expr(无效)会报错;使用 ast.AST(有效)应编译成功
|
||||
# Regression test: __slots__ with ast.AST field types.
|
||||
# An unrecognized type annotation must error out instead of crashing in
|
||||
# VoidType alloca; ast.expr (invalid) errors, ast.AST (valid) compiles.
|
||||
# ============================================================
|
||||
class Result:
|
||||
__slots__ = ('elem_type_node', 'count_node', 'is_pointer')
|
||||
|
||||
Reference in new issue
Block a user