compiler-explorer / compiler-explorer

Run compilers interactively from your web browser and interact with the assembly

Home Page:https://godbolt.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG]: 'Overrides' stay highlighted after switching language

OfekShilon opened this issue · comments

commented

Describe the bug

Reported on discord by @Alcaro

Steps to reproduce

  1. Select rustc,

  2. Open 'Overrides' and select edition 2021:
    image
    Observe 'Overrides' is now highlighted in green:
    image

  3. Change language selection to 'C++',

  4. observe 'Overrides' is still highlighted in green, although no C++ compiler override is selected.

Expected behavior

'Overrides' should be highlighted only if there are currently active overrides

Reproduction link

No response

Screenshots

Not applicable

Operating System

No response

Browser version

No response

commented

Right.