Commit 6d18e0a
feat(selfhost): checker step-2 milestone 2c — RS0010/RS0011 (profile, share)
Adds two purely-structural signature-family diagnostics:
- RS0010 REMOVED_PROFILE_DECLARATION: any `profile:` declaration.
- RS0011 REMOVED_SHARE_EFFECT: a parameter `name: share …` (no data effect,
type name `share`).
CHECKER_TARGET_CODES now 8 codes; checker_parity_corpus byte-exact over 619
files, 0 mismatches, 0 run-failures.
The effects-clause family (RS0004/RS0007/RS0012) was measured (19-file footprint)
but deferred: it needs a parse_effects port (malformed clauses recover to RS0015,
not the effect-name checks) plus RS0007's semantic type_ref_is_copy sub-condition.
Documented in the ledger (SH-026 milestone 2c) as the scoped remainder.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 78e9c9a commit 6d18e0a
4 files changed
Lines changed: 88 additions & 20 deletions
File tree
- crates/rsscript/src
- docs
- ledgers
- planning
- selfhost
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
506 | | - | |
| 506 | + | |
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
982 | | - | |
983 | | - | |
984 | | - | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
985 | 997 | | |
986 | 998 | | |
987 | 999 | | |
| |||
0 commit comments