AckSubject enum

Applies .dialect/state.json acknowledgements to a CheckResult.

Per dialect/spec/state.md: an issue is suppressed when its stored acknowledged fingerprint still matches the recomputed value. When the fingerprint has drifted (source or translation edited since the ack), the issue surfaces again and the ack is reported as stale so the reviewer can re-ack or delete it. Only the heuristic rules are ack-able; structural rules are correctness failures and are never suppressed. Which value a rule's ack is fingerprinted against.

The fingerprint decides when a waiver expires, so it has to name the text the reviewer actually looked at. A glossary warning is a judgement about the English; a width_budget warning is a judgement about the translation; a banned_pattern warning is a judgement about whichever side the banned text appeared on, since that rule scans both.

Inheritance
Available extensions

Values

source → const AckSubject
translation → const AckSubject
sideOfIssue → const AckSubject

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<AckSubject>
A constant List of the values in this enum, in order of their declaration.