feat(parse): bold infix expressions are ExprStmt, not calls

`` **n + 1** `` evaluates and discards (design §6.2); keep assign-first and
bare-call fallback. Explicit `` **> …** `` uses standalone bare=text rules.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-09-14 15:12:00 +08:00
1 parent 114fd53cd1
commit bccfec86ba
9 files changed
+81 -8

No files matched your search

+5
View File
@@ -3883,3 +3883,8 @@ fn markup_v03_leading_backtick_decl() {
fn markup_v03_decl_ident_only() {
assert_out_v03("tests/markup-v03/decl-ident-only.mq.md", "42");
}
#[test]
fn markup_v03_bold_expr() {
assert_out_v03("tests/markup-v03/bold-expr.mq.md", "42");
}