Sequence length type errors can look like errors in sequence member values #746
Labels
design needed
We need to specify precisely what we want
typechecker
Issues related to type-checking Cryptol code.
UX
Issues related to the user experience (e.g., improved error messages)
Milestone
Take the following example:
On first glance, one might assume that a numeric member of one of the sub-sequences was illegal (expected a 3 but found a 2), rather than that the second sequence was too small. It might be clearer to have the types (at least when printed) be something like
Integer[3]
or evenInteger sequence of length 3
.The text was updated successfully, but these errors were encountered: