Files
compiler-explorer/static
mattgodbolt-molty 39723aa78d refactor: simplify and deduplicate
backend-api.ts:
- Extract parseErrorBody() module helper — both postJson and
  getAssemblyDocumentation now share one error-body extraction path
  rather than duplicating the try/json/field-scan/fallback logic
- Drop 'import _ from underscore' — formatCode now destructures
  FormattingRequest directly instead of using \_.pick
- postJson error message no longer prefixed 'Request failed:' —
  the extracted message is already self-describing

compiler-service.ts:
- Extract private submitToCompiler(request, compileFn) — submit and
  submitCMake were identical except for the compile function called;
  both are now one-liners delegating to the shared helper

🤖 Generated by LLM (Claude, via OpenClaw)
2026-02-22 18:03:17 -06:00
..
2026-02-22 18:03:17 -06:00
2025-06-18 09:04:23 -05:00
2025-07-28 10:34:46 -05:00
2026-02-16 14:07:57 -06:00
2025-04-24 12:10:37 -05:00
2025-07-28 10:34:46 -05:00