Support deriving kani::Invariant
for enums
#3647
Labels
[C] Feature / Enhancement
A new feature request or enhancement to an existing feature.
Requested feature: Update the derive macro for the
kani::Invariant
trait to incorporate the comments from #87 -- i.e., deleting the comments intrivial_invariant
about floating point values and supporting enums for the derive macro.Use case: derive
kani::Invariant
on enums.Test case:
currently produces
because we have
unreachable!()
statements for enums and unions in the derive macro implementation.The text was updated successfully, but these errors were encountered: