Files
TermiNexus ee6461be46 chore(comments): Test 仓注释英文化(R11)
把 81 个 .vp 文件的中文 # 注释与三引号文档串改写为简洁英文,每个连续注释块 <=2 行;运行时中文字符串字面量(testcheck.begin/print 等用户可见消息)保持原样。骨架比对 HEAD 与工作区 112 文件漂移 0,全量 77/77 顺序回归通过。
2026-10-05 22:43:38 +08:00

22 lines
510 B
Plaintext

import t
from linkedlist import GSListNode
# Minimal repro: class name 'Value' collides with global variable name.
# GSListNode[Value] supplies Next; if the struct body is skipped, GEP overruns crash.
@t.NoVTable
class Value(GSListNode[Value]):
Ty: t.CPtr
Name: t.CPtr
IsConst: int
IntVal: int64
FloatVal: double
def __init__(self):
self.Ty = None
self.Name = None
self.IsConst = 0
self.IntVal = 0
self.FloatVal = 0.0
self.Next = None