feat(view): mark prose-inferred params in Structure

Show inferred function parameters with a dashed chip and outline annotation so view surfaces v0.3 param elevation without changing the redundant call surfaces.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-09-14 14:04:45 +08:00
1 parent 551f4ff322
commit 4f09e515ee
4 files changed
+74 -3

No files matched your search

+1 -1
View File
@@ -570,7 +570,7 @@ FnDef.params:
| 4 | `` `n`+1 `` 误声明 | 建议 | 仅完整单个 code span `` `ident` `` 触发声明 |
| 5 | 叙述强调斜体 vs 返回 | 建议 | 函数体内合法返回表达式才当返回;否则当文字 |
| 6 | 一行多 `**…**` | **建议采纳** | 允许,按出现序执行(M0 钉死为是) |
| 7 | view 展示 prose Decl | 建议 | Variables 列绑定图 + 标注是否已升参 |
| 7 | view 展示 prose Decl | **已落地** | Structure / Functions 大纲:`inferred` 形参标注(`chip inferred`) |
---
+1 -1
View File
@@ -60,7 +60,7 @@
### M4 — 双后端与工具
- [x] 字节码发射跟随新 Stmt 源
- [ ] `view` / Variables:显示推断形参与 prose Decl
- [x] `view` / Structure:推断形参 `chip inferred` + Functions 大纲标注
- [ ] (可选)`marqdo migrate markup-v03` 机械改写提示/工具
**出门:** tree 与 bytecode 后端对 `markup-v03` 金样一致。