Vize suppression comments do not suppress template-phase diagnostics @vize:ignore-start…
- User
Vize suppression comments do not suppress template-phase diagnostics
@vize:ignore-start/@vize:ignore-endregions and@vize:forgetmust suppress matching diagnostics even when the affected rule runs during the template phase. Suppression boundaries, unmatched directives, and later unrelated diagnostics must retain their normal behavior.Interface
No new interfaces are introduced.
- Assistant
Now remove the redundant range bookkeeping from the main traversal:
- Assistant
Even the pre-existing region test fails, so the prescan isn't seeing these directives. Let me check how
comment.directiveis populated: - Assistant
All tests pass. Now remove the debug print:
- Assistant
Clippy warnings are identical to baseline. Let me run tests for crates that depend on
vize_patina: - Assistant
Let me check if this failure pre-exists on the clean tree:
- Assistant
One tidy-up — import
SourceLocationrather than the full path, matching the file's idiom: - Assistant
All checks pass. Summary of the fix:
Problem
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.