Etan Kissling c95d4f31ed
improve getStateField compile checks (#2889)
The current `getStateField` implementation fails at run-time when called
on a post-Altair state. This is improved by replacing the `if` structure
with a `case` expression, which is checked for exhaustive coverage at
compile time. Care is taken to preserve the `unsafeAddr` optimization.
2021-09-22 20:06:50 +00:00
..
2021-09-14 12:12:49 +03:00
2021-09-14 12:12:49 +03:00
2020-06-01 16:58:28 +03:00
2021-09-14 12:12:49 +03:00
2021-09-14 12:12:49 +03:00