Parser-test backfill for 22b.4a-era duplicate-clause sites #20

Open
opened 2026-05-20 13:21:59 +02:00 by Brummel · 0 comments
Owner

class × 3, class method × 2, instance × 3, instance method × 1. No regression pin today; only worth it if a 22b.4a-era diagnostic needs to change.

context: surfaced in iter 22-tidy.7 (2026-05-10).


Verification 2026-06-02: Partially addressed. The set_once refactor (commit 5cd2a96) landed duplicate-clause pins for fn (doc/type/params/body), const (doc/type/body), and data (doc) in crates/ailang-surface/src/parse.rs tests. Still unpinned: the class and instance duplicate-clause sites (class optional clauses param/superclass/doc; instance class/type/doc) and their methods. Scope narrows to those class/instance sites.

class × 3, class method × 2, instance × 3, instance method × 1. No regression pin today; only worth it if a 22b.4a-era diagnostic needs to change. **context:** surfaced in iter 22-tidy.7 (2026-05-10). --- **Verification 2026-06-02:** Partially addressed. The `set_once` refactor (commit 5cd2a96) landed duplicate-clause pins for `fn` (doc/type/params/body), `const` (doc/type/body), and `data` (doc) in `crates/ailang-surface/src/parse.rs` tests. Still unpinned: the `class` and `instance` duplicate-clause sites (class optional clauses param/superclass/doc; instance class/type/doc) and their methods. Scope narrows to those class/instance sites.
Brummel added the idea label 2026-05-20 13:21:59 +02:00
Sign in to join this conversation.