Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | import type TConstResult from "./TConstResult";
/**
* What one enum member's value settled to (#1669, ADR-017 "Member Values"):
* the evaluator's answer for a value as written, and two answers only an enum
* has --
*
* - `outOfRange`: a value, but not an `i32`'s.
* - `follows`: written without a value, continuing from a member that has
* none. Its own problem is that member's, reported there, not again here.
*/
type TEnumMemberValue =
| TConstResult
| { readonly kind: "outOfRange"; readonly value: bigint }
| { readonly kind: "follows"; readonly member: string };
export default TEnumMemberValue;
|