Files
compiler-explorer/static
Matt GodboltandClaude a68cc3a2a2 Fix version handling to be explicit and predictable
Removed dangerous conditional version logic that could mask bugs:

- serialiseState(): Now uses state.version without fallback, as
  SerializedLayoutState must always have a version
- toSerializedLayoutState(): Always uses CURRENT_LAYOUT_VERSION since
  this function creates new serialized state

This makes version handling explicit:
- New serialization: Always use CURRENT_LAYOUT_VERSION
- Existing serialized data: Use the version it already has
- No fallbacks: Missing version indicates a programming error

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-19 17:13:29 -05:00
..
2025-06-18 09:04:23 -05:00
2025-06-18 09:04:23 -05:00
2025-06-19 08:46:57 -05:00
2025-06-18 09:04:23 -05:00
2024-10-25 12:19:04 +03:00
2025-04-24 12:10:37 -05:00
2025-04-24 12:10:37 -05:00