mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-11-30 09:54:33 -06:00
Found while looking at #9118, though independent of it. `gccdump.pug` binds the button as `gimpleFeOption`, but `gccdump-view.ts` looked it up as `gimpleFe`. The lookup matched nothing, so that one option never got the `[ON]`/`[OFF]` prefix that `updateButtons` adds to every dump option's tooltip. The toggle itself worked, because `Toggles` reads the bind name from the template directly. One-word fix. The added Cypress test opens the pane and checks every option button's tooltip carries the prefix, so a future mismatch between the template and the pane fails the test rather than going unnoticed. It fails on `main` with `gimpleFeOption: expected 'Dump syntax that the GIMPLE frontend can accept' to match /^\[(ON|OFF)\] /`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>