From 50795b63f16a4805a0fa4e8a933579df2f7cb284 Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Fri, 14 Aug 2026 04:02:27 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20TODO/toast=20?= =?UTF-8?q?=E8=84=9A=E6=9C=AC/IsinstanceTest=20=E6=B5=8B=E8=AF=95=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TODO | 1 + Test/IsinstanceTest/App/main.vp | 1 + _toast_gen.py | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index d9628a0..e436284 100644 --- a/TODO +++ b/TODO @@ -45,3 +45,4 @@ TPV 虚类判断问题,参见 ast/parser.vp:2037行 替换式实现注入猴子,带有含函数指针检测和函数指针还原 高级 define(时间戳,版本,config项) +更多新关键字 \ No newline at end of file diff --git a/Test/IsinstanceTest/App/main.vp b/Test/IsinstanceTest/App/main.vp index bc166d4..32d4358 100644 --- a/Test/IsinstanceTest/App/main.vp +++ b/Test/IsinstanceTest/App/main.vp @@ -2,6 +2,7 @@ from stdint import * import t, c import testcheck import geom_lib +from t import CInt, CPtr, CExport # ============================================================ diff --git a/_toast_gen.py b/_toast_gen.py index b238585..d8e4ed5 100644 --- a/_toast_gen.py +++ b/_toast_gen.py @@ -6,8 +6,8 @@ ps = ( "Add-Type -AssemblyName System.Runtime.WindowsRuntime\n" "[Windows.UI.Notifications.ToastNotificationManager, Windows.UI.Notifications, ContentType = WindowsRuntime] | Out-Null\n" "[Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null\n" - "$t = 'VectorGenericTest 隐式泛型推断已修复'\n" - "$b = '_infer_generic_ctor_type_arg:CInt(0)/CFloat64T(0) 的 Name 函数名补 strstr 匹配;非类型转换实参(pool)默认 int 被过滤而非 fail-fast(Vector 三处修复已完成)'\n" + "$t = 'GenericOopTest 测试源修复'\n" + "$b = 'TPV 设计遵循找不到 fast-fail,不支持 __init__ 未注解 self 成员推断;GenericOopTest 4 个泛型类缺字段注解(a/first/second/val/value/flag),已补齐(a: T 等),重跑测试即可'\n" "$xml = [Windows.Data.Xml.Dom.XmlDocument]::new()\n" "$xml.LoadXml('' + $t + '' + $b + '')\n" "$toast = [Windows.UI.Notifications.ToastNotification]::new($xml)\n"