Files
compiler-explorer/static
Ofek b5dcb4bab0 Init optRemarks in ctor (#6463)
Fix #6460: trying to access an `undefined` this.optRemarks.

The order of opt-view.ts invocations at opt-view pane open is:
1. `constructor`,
2. `registerButtons`,
3. `onCompileResult`

If someone manages to click the filter checkboxes after (2) but before
(3), then `showOptRemarks` would be triggered before `this.optRemakrs`
is initialized and this exception would ensue. The solution here is to
initialize `this.optRemakrs` at the constructor.

Couldn't reproduce, the solution is entirely hypothetical. If it would
happen again we'll revisit this.
2024-05-09 20:26:08 +03:00
..
2024-04-22 21:25:31 +02:00
2024-05-09 20:26:08 +03:00
2024-04-22 21:25:31 +02:00
2024-03-20 22:01:36 -05:00
2023-08-15 22:16:36 -05:00
2024-04-22 21:25:31 +02:00
2023-12-03 13:00:59 -05:00
2024-04-09 20:20:18 -05:00
2023-07-10 21:31:04 -05:00
2024-01-15 18:31:46 -06:00
2024-04-09 20:20:18 -05:00
2023-11-20 22:04:57 -06:00
2024-04-09 20:20:18 -05:00