Files
compiler-explorer/static
PartoufandClaude Opus 4.8 2951afe164 fix: don't reset shortlink compiler to default during async pane init
The lazy-load change (#8549) moved the compiler pane's initLangAndCompiler
into an async postInit that awaits the compiler-list fetch, while the
languageChange listener is still registered synchronously in the constructor.
This opened a window where the editor's initial firstTime languageChange
broadcast arrives before currentLangId is resolved, causing onLanguageChange
to fall back to the language's default compiler and lose the compiler stored
in the shortlink (e.g. /z/4jh7rYMe9 loaded x86-64 gcc instead of
armv8-clang-trunk).

Guard onLanguageChange with an initialStateLoaded flag so the pane ignores
language broadcasts until it has resolved its own initial lang/compiler.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 17:46:04 +02:00
..
2025-10-28 09:45:26 +01:00
2026-06-02 12:19:29 -05:00
2026-06-02 12:19:29 -05:00
2026-06-02 12:19:29 -05:00
2026-06-02 12:19:29 -05:00
2026-06-02 12:19:29 -05:00
2025-07-28 10:34:46 -05:00
2025-04-24 12:10:37 -05:00
2025-07-28 10:34:46 -05:00