Skip to content
Snippets Groups Projects
Commit ccc45f02 authored by Ben Gamari's avatar Ben Gamari
Browse files

simplCore: Ensure that rule templates contain no ticks

This fixes #17619, where a tick snuck in to the template of a rule,
resulting in a panic during rule matching. The situation is summarized
in `Note [Rule templates are devoid of ticks]`. In short, we ensure that
the template remains devoid of ticks by stripping ticks after
substitution. This feels a bit hacky but I can't think of a better
option at the moment.

We also now assert this invariant in Core Lint.
parent e2ae6fbe
No related merge requests found
Pipeline #14060 failed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment