Duplicate key values in #switch ({{ #switch: {{{param}}} | a = apple | b = banana | a = apricot }}) are silently ignored, with only the first duplicate branch followed (param=a results in apple). Currently, this is not tracked in any way, meaning it has to be spotted manually. It'd be nice if there was a tracking mechanism (some combination of tracking category, error message, linting category, etc) to allow these to be found and fixed more easily.
Description
Description
Event Timeline
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 28 2026, 5:40 AM2026-04-28 05:40:24 (UTC+0)
Pppery moved this task from Backlog to Conditionals on the ParserFunctions board.Sun, Jul 19, 4:43 AM2026-07-19 04:43:32 (UTC+0)