Skip to content
Snippets Groups Projects
user avatar
Dato Simó authored
In some ADT, ordering of constructors is important because a certain
meaning is attached to ordinality (e.g., "clusters with lesser AllocPolicy
are preferred").

To ensure constructor order is not accidentally changed, this commit
introduces assertions that verify the ordering of these types is as
expected.

Signed-off-by: default avatarDato Simó <dato@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
bccb8d20
Name Last commit Last update
..