mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-11-29 01:45:36 +03:00
Add a case for Not
. Fixes #249.
This may happen when we check enumerations, because we emit constraints such as `x /= y`, which ends up looking like `Not (x == y)`.
This commit is contained in:
parent
91ebb1ca2b
commit
e7728c2b22
@ -11,6 +11,7 @@ cryDefinedProp prop =
|
||||
Fin x -> cryDefined x
|
||||
x :== y -> cryDefined x :&& cryDefined y
|
||||
x :>= y -> cryDefined x :&& cryDefined y
|
||||
Not p -> cryDefinedProp p
|
||||
_ -> panic "cryDefinedProp" [ "Not a simple property:"
|
||||
, show (ppProp prop)
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user