All files / TRANSPILE/1-Analyze/types IEnumTypeSafetyError.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

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                                 
/**
 * ADR-017 enum type safety.
 *
 * Error codes:
 * - E0428: a value that is not of the target enum type is assigned to it.
 *   The #1321 throw audit reserved this code for "cannot assign integer to
 *   enum" so it would not be handed out twice; #1322 claims it, widened to the
 *   whole assignment half of the rule, because the three messages the codegen
 *   check produced were one decision with three fallbacks.
 * - E0434: the two operands of a comparison are not the same enum type.
 */
import IBaseAnalysisError from "./IBaseAnalysisError";
 
interface IEnumTypeSafetyError extends IBaseAnalysisError {}
 
export default IEnumTypeSafetyError;