260. Counter reaches programs through the prelude's use, not a compiler type name (2026-11-22)
- Decision.
Counterleaves the checker'sTYPE_NAMESand itsTy::Namedrow;spec/std/prelude.cpimportsstd.hashmap.{Counter}like any std type, so a program's ownstruct Countershadows it. - Why. Q3 (a): a std struct is not storage, I/O, bits or a numeric
primitive. The by-name trait rows in
check.rsandcheck/types.rsstay until std traits replace them (tech-debt worklog). No code path changes, so no perf gate:countsstill lowers to its own counter. - Reverse. Put
"Counter"back inTYPE_NAMESand theTy::Namedrow incrates/cpl-check/src/prelude.rs, and drop the preludeuse.