fix(language-server): stop flagging intermediates used as relative targets or declared on a section heading #259

Merged
abiwab merged 1 commit from fix/unused-intermediate-false-positives into main 2026-11-25 23:57:28 +01:00
Owner

UNUSED_INTERMEDIATE no longer fires on an intermediate used as the target of a share, a ratio or a proportional timer (@salt{2% &dough}, ~{15 min / 500 g &dough}), nor on one declared on a section heading (a module's export surface, or the finished dish). Unused step intermediates are still reported. Tests cover each case; patch changeset included.

UNUSED_INTERMEDIATE no longer fires on an intermediate used as the target of a share, a ratio or a proportional timer (`@salt{2% &dough}`, `~{15 min / 500 g &dough}`), nor on one declared on a section heading (a module's export surface, or the finished dish). Unused step intermediates are still reported. Tests cover each case; patch changeset included.
abiwab merged commit 9a4e33869a into main 2026-11-25 23:57:28 +01:00
abiwab deleted branch fix/unused-intermediate-false-positives 2026-11-25 23:57:28 +01:00
Sign in to join this conversation.
No description provided.