Skip to content

fix(compiler): disable color decorators for assembly output - #9105

Merged
mattgodbolt merged 1 commit into
compiler-explorer:mainfrom
lprnmns:codex/fix-assembly-color-decorators
Sep 14, 2026
Merged

mattgodbolt merged 1 commit into
compiler-explorer:mainfrom
lprnmns:codex/fix-assembly-color-decorators

Conversation

@lprnmns

@lprnmns lprnmns commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Problem

Fixes #9080. The compiler output pane uses Monaco's default color decorators, so assembly constants such as #308 and #8 are shown with misleading color selector squares in Arm/AArch64 output.

Root cause and solution

Monaco enables colorDecorators by default. The read-only assembly output editor did not override that general-purpose editor setting. The compiler output configuration now disables color decorators for the asm editor only.

Tests

  • make check
  • npm run check-frontend-imports
  • npm run check-license-headers
  • npm run webpack

The focused frontend regression test verifies the exact editor options passed by Compiler.createEditor(). All checks passed; webpack retained only the repository's existing CSS-order and asset-size warnings.

The change is limited to the compiler output pane and does not affect source editors or other Monaco panes.

@github-actions github-actions Bot added the ui label Sep 5, 2026
@mattgodbolt

Copy link
Copy Markdown
Member

lol! Thanks for this :) I didn't know it was so easy to fix :)

@mattgodbolt
mattgodbolt merged commit 8d0e5b8 into compiler-explorer:main Sep 14, 2026
12 checks passed
@compiler-explorer-bot compiler-explorer-bot Bot added the live This is now live label Sep 14, 2026
@compiler-explorer-bot

Copy link
Copy Markdown

This is now live

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

live This is now live ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Some assembly constants are marked as hex colours

2 participants