cryptol/tests/constraint-guards
Ryan Scott 1e1c14c28a Implement coreLint for numeric constraint guards
This ensures that the constraints and right-hand side expressions in each guard
are well formed. This check suffices to catch the bug in
https://github.com/GaloisInc/saw-script/issues/2043, which was fixed separately
in a previous commit.

I have also updated the `tests/constraint-guards/type-sig-constraint.icry` test
to use `coreLint=on` rather than checking `debug` output, as the former is more
resilient to internal changes in Cryptol's pretty-printer.

Fixes #1647.
2024-03-25 13:13:00 -04:00
..
constant.cry constant tests for constraint guards 2022-08-30 11:56:45 -07:00
constant.icry constant tests for constraint guards 2022-08-30 11:56:45 -07:00
constant.icry.stdout constant tests for constraint guards 2022-08-30 11:56:45 -07:00
inits.cry * Introduce a separate type for a property guarded alternative 2022-09-06 18:56:20 +03:00
inits.icry properly set up test suite 2022-08-26 12:39:28 -07:00
inits.icry.stdout properly set up test suite 2022-08-26 12:39:28 -07:00
insert.cry proper uncapitalized names 2022-08-29 10:41:03 -07:00
insert.icry properly set up test suite 2022-08-26 12:39:28 -07:00
insert.icry.stdout Simplify type checking of constraint guards 2022-09-12 11:35:34 +03:00
len.cry proper uncapitalized names 2022-08-29 10:41:03 -07:00
len.icry properly set up test suite 2022-08-26 12:39:28 -07:00
len.icry.stdout properly set up test suite 2022-08-26 12:39:28 -07:00
mergesort.cry proper uncapitalized names 2022-08-29 10:41:03 -07:00
mergesort.icry properly set up test suite 2022-08-26 12:39:28 -07:00
mergesort.icry.stdout properly set up test suite 2022-08-26 12:39:28 -07:00
nestFun.cry Update evaluator to account for TError of kind prop. 2022-09-28 15:17:39 +03:00
nestFun.icry Update evaluator to account for TError of kind prop. 2022-09-28 15:17:39 +03:00
nestFun.icry.stdout Update evaluator to account for TError of kind prop. 2022-09-28 15:17:39 +03:00
nestMod.cry Clean up translation, and support for nested modules 2022-09-12 14:57:44 +03:00
nestMod.icry Clean up translation, and support for nested modules 2022-09-12 14:57:44 +03:00
nestMod.icry.stdout Clean up translation, and support for nested modules 2022-09-12 14:57:44 +03:00
noNested.cry Another test 2022-09-12 14:58:18 +03:00
noNested.icry Another test 2022-09-12 14:58:18 +03:00
noNested.icry.stdout Fix tests 2022-09-27 11:46:08 +03:00
noPrim.cry Report an error if we find unsupported constraints 2022-09-13 13:53:46 +03:00
noPrim.icry Report an error if we find unsupported constraints 2022-09-13 13:53:46 +03:00
noPrim.icry.stdout Fix tests 2022-09-27 11:46:08 +03:00
tail.cry properly set up test suite 2022-08-26 12:39:28 -07:00
tail.icry properly set up test suite 2022-08-26 12:39:28 -07:00
tail.icry.stdout properly set up test suite 2022-08-26 12:39:28 -07:00
type-sig-constraint.cry Fix typechecking of constraint guards with type signature constraints 2024-03-25 12:26:34 -04:00
type-sig-constraint.icry Implement coreLint for numeric constraint guards 2024-03-25 13:13:00 -04:00
type-sig-constraint.icry.stdout Implement coreLint for numeric constraint guards 2024-03-25 13:13:00 -04:00